Skip to content

Commit

Permalink
fixup! fixup! Move to distroless images.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszraczylo committed Feb 8, 2024
1 parent c49e94b commit e709f61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ WORKDIR /go/src/app
COPY . /go/src/app/
RUN CGO_ENABLED=1 make build

FROM gcr.io/distroless/base-debian12:nonroot
FROM ubuntu:jammy
WORKDIR /go/src/app
ADD entrypoint.sh /entrypoint.sh
ADD config-release.yaml /go/src/app/config.yaml
COPY --from=baseimg /go/src/app/semver-gen .
COPY --from=baseimg /go/src/app/config-release.yaml config.yaml
COPY --from=baseimg /go/src/app/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit e709f61

Please sign in to comment.