Skip to content

Commit

Permalink
update: Added chainguard image as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
alanjino committed May 14, 2024
1 parent b6dc687 commit 2df3a79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ RUN rm -rf vendor
RUN go mod download
RUN CGO_ENABLED=0 go build -o ./build/server cmd/server/main.go

FROM cgr.dev/chainguard/wolfi-base
RUN apk add --no-cache glibc
FROM alpine:3.16
RUN apk add --no-cache libc6-compat
COPY --from=builder ./data /data
COPY --from=builder ./build/server server

Expand Down

0 comments on commit 2df3a79

Please sign in to comment.