Skip to content

Commit b284577

Browse files
committedJun 29, 2015
update to python3
1 parent 929cff5 commit b284577

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎Dockerfile

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
FROM python:2.7
1+
FROM python:3
22

33
MAINTAINER Ignacio Torres Masdeu <i@itorres.net>
44

5-
# Mimics 2-onbuild except for the inclusion of LDAP development libraries
5+
# Mimics 3-onbuild except for the inclusion of ldap configuration and packages
66

7+
COPY ldap.conf /etc/ldap/ldap.conf
78
COPY certs/* /usr/local/share/ca-certificates/
8-
RUN apt-get update && apt-get install -y libldap2-dev libsasl2-dev && /usr/sbin/update-ca-certificates
9+
RUN /usr/sbin/update-ca-certificates
10+
11+
RUN apt-get update && \
12+
apt-get install -y libldap2-dev libsasl2-dev nmap mtr traceroute
913

10-
COPY ldap.conf /etc/ldap/ldap.conf
1114

1215
RUN mkdir -p /usr/src/app
1316
WORKDIR /usr/src/app

0 commit comments

Comments
 (0)
Please sign in to comment.