Created
April 14, 2019 17:10
-
-
Save Shaked/b2dd1a609438ac6a0b438d0643ba212d to your computer and use it in GitHub Desktop.
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 characters
# docker build -t ubuntu1604py36 | |
FROM ubuntu:18.04 | |
RUN apt-get update && \ | |
apt-get install -y software-properties-common vim && \ | |
add-apt-repository ppa:jonathonf/python-3.6 | |
RUN apt-get update -y | |
RUN apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv && \ | |
apt-get install -y git | |
# update pip | |
RUN python3.6 -m pip install pip --upgrade && \ | |
python3.6 -m pip install wheel | |
RUN apt-get install -y swig | |
RUN apt-get install -y net-tools inetutils-ping | |
RUN apt-get install iproute2 -y | |
COPY . /opt/pypylon | |
RUN apt install /opt/pypylon/pylon_5.2.0.13457-deb0_amd64.deb | |
RUN cd /opt/pypylon && python3.6 -m pip install . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment