Skip to content

Commit

Permalink
change base image
Browse files Browse the repository at this point in the history
  • Loading branch information
totegamma committed Jun 9, 2024
1 parent 38525da commit 85c4094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY ./ ./

RUN go build -ldflags "-s -w -X main.version=$(git describe) -X \"main.buildMachine=$(uname -srmo)\" -X \"main.buildTime=$(date)\" -X \"main.goVersion=$(go version)\"" -o ccapi ./cmd/api

FROM golang:latest
FROM ubuntu:latest

RUN go install github.com/totegamma/[email protected]
COPY --from=coreBuilder /work/ccapi /usr/local/bin
Expand Down
2 changes: 1 addition & 1 deletion cmd/gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY ./ ./

RUN go build -ldflags "-s -w -X main.version=$(git describe) -X \"main.buildMachine=$(uname -srmo)\" -X \"main.buildTime=$(date)\" -X \"main.goVersion=$(go version)\"" -o ccgateway ./cmd/gateway

FROM golang:latest
FROM ubuntu:latest

COPY --from=coreBuilder /work/ccgateway /usr/local/bin

Expand Down

0 comments on commit 85c4094

Please sign in to comment.