We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 929cff5 commit b284577Copy full SHA for b284577
Dockerfile
@@ -1,13 +1,16 @@
1
-FROM python:2.7
+FROM python:3
2
3
MAINTAINER Ignacio Torres Masdeu <i@itorres.net>
4
5
-# Mimics 2-onbuild except for the inclusion of LDAP development libraries
+# Mimics 3-onbuild except for the inclusion of ldap configuration and packages
6
7
+COPY ldap.conf /etc/ldap/ldap.conf
8
COPY certs/* /usr/local/share/ca-certificates/
-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
13
-COPY ldap.conf /etc/ldap/ldap.conf
14
15
RUN mkdir -p /usr/src/app
16
WORKDIR /usr/src/app
0 commit comments