Skip to content

Commit

Permalink
update node, alpine and s6
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico640 committed Aug 9, 2023
1 parent 375d847 commit f1e9d2f
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
@@ -1,4 +1,4 @@
FROM node:16.13.1-alpine3.15 AS base
FROM node:16.20.0-alpine3.17 AS base
ARG TARGETARCH
ARG TARGETVARIANT

Expand All @@ -17,8 +17,8 @@ ENV APK_ARCH=armhf
FROM base-${TARGETARCH}${TARGETVARIANT}

RUN set -x && apk add --no-cache curl tzdata logrotate shadow coreutils libstdc++ \
&& curl -SL "https://github.com/just-containers/s6-overlay/releases/download/v3.1.1.2/s6-overlay-noarch.tar.xz" | tar xvJ -C / \
&& curl -SL "https://github.com/just-containers/s6-overlay/releases/download/v3.1.1.2/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz" | tar xvJ -C / \
&& curl -SL "https://github.com/just-containers/s6-overlay/releases/download/v3.1.5.0/s6-overlay-noarch.tar.xz" | tar xvJ -C / \
&& curl -SL "https://github.com/just-containers/s6-overlay/releases/download/v3.1.5.0/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz" | tar xvJ -C / \
&& mkdir -p /config \
&& sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf \
&& rm -rf /var/cache/apk/*
Expand Down

0 comments on commit f1e9d2f

Please sign in to comment.