Save a little space in the final image
This commit is contained in:
parent
bcbf74bbaa
commit
52e461ec80
@ -10,7 +10,7 @@ RUN shards build --release
|
||||
RUN strip bin/*
|
||||
|
||||
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine as ship
|
||||
RUN apk update && apk upgrade && apk add openssl pcre2 libgcc gc libevent curl {{ ship_packages | join " " }} && apk cache clean
|
||||
RUN apk update && apk upgrade && apk add pcre2 libgcc gc libevent curl {{ ship_packages | join " " }} && apk cache clean
|
||||
RUN addgroup -S app && adduser app -S -G app
|
||||
|
||||
WORKDIR /home/app
|
||||
@ -19,4 +19,4 @@ USER app
|
||||
COPY --from=build /home/app/bin/funko .
|
||||
|
||||
CMD ["./funko"]
|
||||
HEALTHCHECK {{ healthcheck_options }} CMD {{ healthcheck_command }}
|
||||
HEALTHCHECK {{ healthcheck_options }} CMD {{ healthcheck_command }}
|
||||
|
Loading…
Reference in New Issue
Block a user