Skip to content

Commit

Permalink
setting :: 명령어 실행 순서 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaisqls committed Jan 9, 2024
1 parent 79ac1e2 commit 1365693
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@ COPY .bingo .bingo
COPY Makefile main.go ./
COPY pkg pkg

# Install build dependencies
RUN if grep -i -q alpine /etc/issue; then \
apk add --no-cache gcc g++ make git; \
fi

RUN make gen

RUN go mod tidy \
&& go get -u -d -v ./...
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-s -w' -o project

RUN apt update && apt install -y make
RUN make gen-go
RUN make build

FROM scratch
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/grafana/dataplane/sdata v0.0.6
github.com/grafana/dskit v0.0.0-20231221015914-de83901bf4d6
github.com/grafana/grafana-aws-sdk v0.20.0
github.com/grafana/grafana-plugin-sdk-go v0.198.0
github.com/grafana/grafana-plugin-sdk-go v0.197.0
github.com/grafana/kindsys v0.0.0-20230926104744-988ea4c8a739
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/json-iterator/go v1.1.12
Expand Down

0 comments on commit 1365693

Please sign in to comment.