Skip to content
Snippets Groups Projects
Commit acbd8218 authored by Griefed's avatar Griefed :joystick:
Browse files

Merge branch 'node18' into 'main'

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

See merge request !18
parents ad7a76fe 1bd579ce
No related branches found
No related tags found
1 merge request!18fix: Update node to version 18 by installing from alpine-3.17 repo
...@@ -24,8 +24,8 @@ FROM mazzolino/docker:20.10.12-dind ...@@ -24,8 +24,8 @@ FROM mazzolino/docker:20.10.12-dind
LABEL maintainer="Griefed <griefed@griefed.de>" LABEL maintainer="Griefed <griefed@griefed.de>"
LABEL description="Provides GitLab Semantic Release, buildx, JDK 8, NodeJS for Griefed's GitLab CI/CD pipelines." 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 /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
COPY --from=fetcher /discord.sh /discord.sh COPY --from=fetcher /discord.sh /discord.sh
ENV DOCKER_CLI_EXPERIMENTAL=enabled ENV DOCKER_CLI_EXPERIMENTAL=enabled
...@@ -33,13 +33,17 @@ RUN \ ...@@ -33,13 +33,17 @@ RUN \
echo "**** Updating and installing our packages ****" && \ echo "**** Updating and installing our packages ****" && \
apk update && \ apk update && \
apk upgrade && \ apk upgrade && \
apk add --no-cache \
--repository https://dl-cdn.alpinelinux.org/alpine/v3.17/main/ \
nodejs \
npm && \
apk add --no-cache \ apk add --no-cache \
bash \ bash \
ca-certificates \ ca-certificates \
curl \ curl \
git \ git \
nodejs-current \
jq \ jq \
nodejs \
npm \ npm \
openjdk8 && \ openjdk8 && \
echo "node version is: " && \ echo "node version is: " && \
...@@ -76,5 +80,5 @@ RUN \ ...@@ -76,5 +80,5 @@ RUN \
echo "**** Cleanup ****" && \ echo "**** Cleanup ****" && \
rm -rf \ rm -rf \
/var/cache/apk/* \ /var/cache/apk/* \
/tmp/* \ /tmp/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment