Created
July 2, 2019 20:23
-
-
Save rplevka/2ee4907b7ed074e7b8eedaa0da86cfc4 to your computer and use it in GitHub Desktop.
dockerized-jenkins-master-dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jenkins/jenkins:lts-alpine | |
USER root | |
RUN apk add --no-cache python3 py3-virtualenv curl-dev libxml2-dev libxslt-dev grep sed && \ | |
python3 -m ensurepip && \ | |
pip3 install --upgrade pip setuptools && \ | |
if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \ | |
if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \ | |
rm -r /root/.cache | |
RUN apk add pkgconf | |
RUN apk add build-base | |
RUN apk add python3-dev | |
# RUN echo "xxx.xxx.xxx.xxx foo.bar.com" >> /etc/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment