Skip to content

Commit

Permalink
Use distroless/static-debian12 base image (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
browningluke committed Nov 13, 2024
1 parent dbc7f40 commit d88bc75
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions docker/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,11 @@ RUN make deps
COPY ../../ .
RUN make

ENTRYPOINT ["mangathr"]

## Production
FROM alpine:latest
FROM gcr.io/distroless/static-debian12

WORKDIR /
COPY --from=build /app/bin/mangathr /mangathr

RUN mkdir config data

COPY --from=build /app/bin/mangathr /usr/local/bin/mangathr

ENTRYPOINT ["mangathr"]

VOLUME ["/config", "/data"]
ENTRYPOINT ["/mangathr"]

0 comments on commit d88bc75

Please sign in to comment.