Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
node 12.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Jun 19, 2020
1 parent fc78014 commit cbc18bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ARG BASE_IMAGE
FROM ${BASE_IMAGE:-library/alpine}:3.11
FROM ${BASE_IMAGE:-library/alpine}:3.12

ARG QEMU_ARCH
ENV QEMU_ARCH=${QEMU_ARCH:-x86_64} S6_KEEP_ENV=1

COPY qemu/qemu-${QEMU_ARCH}-static /usr/bin/

RUN set -x && apk add --no-cache libgcc libstdc++ curl curl-dev coreutils tzdata shadow libstdc++ paxctl logrotate \
RUN set -x && apk add --no-cache libgcc libstdc++ curl curl-dev coreutils tzdata shadow libstdc++ paxmark logrotate \
&& case "${QEMU_ARCH}" in \
x86_64) S6_ARCH='amd64';; \
arm) S6_ARCH='armhf';; \
Expand All @@ -22,12 +22,12 @@ RUN set -x && apk add --no-cache libgcc libstdc++ curl curl-dev coreutils tzdata
&& rm -rf /tmp/* \
&& sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf

ENV NODE_VERSION 12.18.0
ENV NODE_VERSION 12.18.1

RUN set -x && curl -fLO https://github.com/oznu/alpine-node/releases/download/${NODE_VERSION}/node-v${NODE_VERSION}-linux-${QEMU_ARCH}-alpine.tar.gz \
&& tar -xzf node-v${NODE_VERSION}-linux-${QEMU_ARCH}-alpine.tar.gz -C /usr --strip-components=1 --no-same-owner \
&& rm -rf node-v${NODE_VERSION}-linux-${QEMU_ARCH}-alpine.tar.gz \
&& paxctl -cm `which node` \
&& paxmark `which node` \
&& npm set prefix /usr/local \
&& npm config set unsafe-perm true

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -x && apt-get update \
&& rm -rf /etc/cron.daily/apt-compat /etc/cron.daily/dpkg /etc/cron.daily/passwd /etc/cron.daily/exim4-base \
&& sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf

ENV NODE_VERSION 12.18.0
ENV NODE_VERSION 12.18.1

RUN case "${QEMU_ARCH}" in \
x86_64) NODE_ARCH='x64';; \
Expand Down

0 comments on commit cbc18bc

Please sign in to comment.