Skip to content

Commit

Permalink
Merge pull request axoflow#64 from axoflow/avoid-apk-packages-in-prod…
Browse files Browse the repository at this point in the history
…-image
  • Loading branch information
MrAnno authored Feb 12, 2024
2 parents 1a46c98 + e9ee059 commit f447374
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions syslog-ng/alpine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ LABEL org.opencontainers.image.source="https://github.com/axoflow/axosyslog"
LABEL org.opencontainers.image.documentation="https://axoflow.com/docs/axosyslog/docs/"
LABEL org.opencontainers.image.url="https://axoflow.io/"

COPY --from=apkbuilder /home/builder/packages/ /
COPY --from=apkbuilder /home/builder/packages/ /tmp/
COPY --from=apkbuilder /home/builder/.abuild/*.pub /etc/apk/keys/

RUN apk add --repository /axoflow -U --upgrade --no-cache \
RUN apk add --repository /tmp/axoflow -U --upgrade --no-cache \
jemalloc \
libdbi-drivers \
tzdata \
Expand Down Expand Up @@ -81,7 +81,8 @@ RUN apk add --repository /axoflow -U --upgrade --no-cache \
syslog-ng-stardate \
syslog-ng-stomp \
syslog-ng-tags-parser \
syslog-ng-xml
syslog-ng-xml && \
rm -rf /tmp/axoflow

RUN [ $DEBUG = false ] || apk add -U --upgrade --no-cache \
gdb \
Expand Down

0 comments on commit f447374

Please sign in to comment.