Created
July 2, 2019 20:23
-
-
Save rplevka/2ee4907b7ed074e7b8eedaa0da86cfc4 to your computer and use it in GitHub Desktop.
Revisions
-
Roman Plevka created this gist
Jul 2, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ 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