diff --git a/server/Dockerfile b/server/Dockerfile index 9e23199a..e6cd394b 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -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 diff --git a/worker/Dockerfile b/worker/Dockerfile index 1fbb4276..32ce9447 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -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/gcsfuse@v1.4.1 @@ -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