diff --git a/Dockerfile b/Dockerfile index d892e5f..19fc525 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 69e1e36..e1e8207 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -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 \ No newline at end of file