Some checks failed
andreas-personal/jenkins-ssh-docker-agent/pipeline/head There was a failure building this commit
28 lines
634 B
Docker
28 lines
634 B
Docker
FROM jenkins/ssh-agent:alpine
|
|
|
|
RUN addgroup --gid 281 docker
|
|
RUN addgroup jenkins docker
|
|
|
|
RUN apk add --no-cache docker docker-compose
|
|
|
|
# Install tea
|
|
RUN apk add --no-cache tea
|
|
|
|
# Install flutter
|
|
RUN git clone https://github.com/flutter/flutter.git /usr/local/flutter
|
|
RUN git config --global --add safe.directory /usr/local/flutter
|
|
|
|
ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PATH}"
|
|
|
|
RUN chown -R jenkins:jenkins /usr/local/flutter
|
|
# Run flutter doctor and upgrade
|
|
USER jenkins
|
|
|
|
RUN flutter config --no-cli-animations
|
|
RUN flutter doctor -v
|
|
|
|
USER root
|
|
|
|
#Install OpenSSL
|
|
RUN apk add --no-cache openssl
|