We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc8d5f1 commit a6db134Copy full SHA for a6db134
1 file changed
Dockerfile
@@ -1,23 +1,9 @@
1
FROM ubuntu:18.04
2
-MAINTAINER gijs@pythonic.nl
3
-ENV DEBIAN_FRONTEND noninteractive
4
-
5
-# copy source to container
6
-ADD . /snap7
7
8
-# install ubuntu packages
9
RUN apt-get update
10
-RUN apt-get install -y software-properties-common python-nose
11
12
-# add the snap7 launchpad PPA
+RUN apt-get install -y software-properties-common python3 python3-setuptools
13
RUN add-apt-repository ppa:gijzelaar/snap7
14
15
16
-# install snap7
17
-RUN apt-get install libsnap7-dev libsnap71
18
-RUN ldconfig
19
20
-# install python-snap7
21
-RUN cd /snap7 && python ./setup.py install
22
23
-#RUN cd /snap7 && ./run_tests.sh
+RUN apt-get install -y libsnap7-dev libsnap7-1
+ADD . /code
+WORKDIR /code
+RUN python3 ./setup.py install
0 commit comments