Skip to content
Snippets Groups Projects

fix: Update node to version 18 by installing from alpine-3.17 repo

Merged Griefed requested to merge node18 into main
1 file
+ 8
4
Compare changes
  • Side-by-side
  • Inline
+ 8
4
@@ -24,8 +24,8 @@ FROM mazzolino/docker:20.10.12-dind
LABEL maintainer="Griefed <griefed@griefed.de>"
LABEL description="Provides GitLab Semantic Release, buildx, JDK 8, NodeJS for Griefed's GitLab CI/CD pipelines."
COPY --from=fetcher /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
COPY --from=fetcher /discord.sh /discord.sh
COPY --from=fetcher /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
COPY --from=fetcher /discord.sh /discord.sh
ENV DOCKER_CLI_EXPERIMENTAL=enabled
@@ -33,13 +33,17 @@ RUN \
echo "**** Updating and installing our packages ****" && \
apk update && \
apk upgrade && \
apk add --no-cache \
--repository https://dl-cdn.alpinelinux.org/alpine/v3.17/main/ \
nodejs \
npm && \
apk add --no-cache \
bash \
ca-certificates \
curl \
git \
nodejs-current \
jq \
nodejs \
npm \
openjdk8 && \
echo "node version is: " && \
@@ -76,5 +80,5 @@ RUN \
echo "**** Cleanup ****" && \
rm -rf \
/var/cache/apk/* \
/tmp/* \
/tmp/*
Loading