Skip to content

Commit

Permalink
chore(server,worker): fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Oct 18, 2024
1 parent 5e66d73 commit 2256b05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
ARG GO_VERSION=1.22
ARG TAG=release,draco
ARG VERSION

FROM golang:${GO_VERSION}-bullseye AS build
FROM golang:1.22-bullseye AS build

WORKDIR /app

Expand Down
6 changes: 3 additions & 3 deletions worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG GO_VERSION=1.22
ARG TAG=release
ARG VERSION
FROM golang:${GO_VERSION}-alpine AS build

FROM golang:1.22-alpine AS build

RUN apk add --update --no-cache git ca-certificates build-base fuse
# RUN CGO_ENABLED=0 go install github.com/googlecloudplatform/[email protected]
Expand All @@ -21,7 +21,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
FROM scratch

COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /go/bin/gcsfuse /usr/bin/
# COPY --from=build /go/bin/gcsfuse /usr/bin/
COPY --from=build /app/plateauview-worker /app/plateauview-worker

WORKDIR /app
Expand Down

0 comments on commit 2256b05

Please sign in to comment.