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
Some checks failed
andreas-personal/jenkins-ssh-docker-agent/pipeline/head There was a failure building this commit
This commit is contained in:
parent
1ab094973b
commit
44ccc78236
@ -53,7 +53,3 @@ USER root
|
||||
#Install OpenSSL
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y openssl
|
||||
|
||||
#Install Node.js
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y nodejs npm
|
@ -11,13 +11,15 @@ RUN apk add --no-cache tea
|
||||
# Install 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 doctor -v
|
||||
RUN flutter channel master
|
||||
RUN flutter upgrade
|
||||
|
||||
USER root
|
||||
|
||||
#Install OpenSSL
|
||||
RUN apk add --no-cache openssl
|
||||
|
||||
#Install Node.js
|
||||
RUN apk add --no-cache nodejs npm
|
Loading…
x
Reference in New Issue
Block a user