Removed NodeJS and fix Flutter Install error in alpine
Some checks failed
andreas-personal/jenkins-ssh-docker-agent/pipeline/head There was a failure building this commit

This commit is contained in:
Andreas Fahrecker 2024-04-16 00:50:14 +02:00
parent 1ab094973b
commit 44ccc78236
2 changed files with 5 additions and 7 deletions

View File

@ -53,7 +53,3 @@ USER root
#Install OpenSSL #Install OpenSSL
RUN apt-get update RUN apt-get update
RUN apt-get install -y openssl RUN apt-get install -y openssl
#Install Node.js
RUN apt-get update
RUN apt-get install -y nodejs npm

View File

@ -11,13 +11,15 @@ RUN apk add --no-cache tea
# Install flutter # Install flutter
RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing flutter RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing flutter
# Run flutter doctor and upgrade
USER jenkins
RUN flutter config --no-cli-animations RUN flutter config --no-cli-animations
RUN flutter doctor -v RUN flutter doctor -v
RUN flutter channel master RUN flutter channel master
RUN flutter upgrade RUN flutter upgrade
USER root
#Install OpenSSL #Install OpenSSL
RUN apk add --no-cache openssl RUN apk add --no-cache openssl
#Install Node.js
RUN apk add --no-cache nodejs npm