-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
24 lines (21 loc) · 1.13 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ARG PUPPETSERVER_VERSION
FROM puppet/puppetserver:$PUPPETSERVER_VERSION
### How to enable proxy ###
#ENV HTTP_PROXY="http://proxy.example.no:80"
#ENV HTTPS_PROXY="https://proxy.example.no:80"
#ENV http_proxy="http://proxy.example.no:80"
#ENV https_proxy="https://proxy.example.no:80"
#RUN echo 'Acquire::http::Proxy "http://proxy.example.no:80";' >> /etc/apt/apt.conf
#RUN echo 'Acquire::https::Proxy "http://proxy.example.no:80";' >> /etc/apt/apt.conf
#RUN echo "http_proxy = http://proxy.example.no:80" >> /etc/wgetrc
#RUN echo "https_proxy = http://proxy.example.no:80" >> /etc/wgetrc
#RUN echo 'Acquire::http::Proxy "http://proxy.example.no:80";' >> /etc/apt/apt.conf
#RUN echo 'Acquire::https::Proxy "https://proxy.example.no:80";' >> /etc/apt/apt.conf
#RUN echo "http_proxy = http://proxy.example.no:80" >> /etc/wgetrc
#RUN echo "https_proxy = https://proxy.example.no:80" >> /etc/wgetrc
### How to install CA-certs ###
#COPY example-certs /usr/local/share/ca-certificates/example
#RUN update-ca-certificates
#ENV SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt"
RUN apt-get update -y
RUN apt-get install git vim telnet hiera-eyaml openssh-client -y