diff --git a/Dockerfile b/Dockerfile index e02a9d8..364761b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.3 as builder +FROM docker.io/golang:1.20.3 as builder # Create and change to the app directory. WORKDIR /app @@ -9,7 +9,7 @@ COPY . ./ RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -v -o server -FROM alpine:3 +FROM docker.io/alpine:3 RUN apk add --no-cache ca-certificates COPY --from=builder /app/server /server