-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (21 loc) · 887 Bytes
/
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
25
26
27
28
29
30
31
FROM debian
MAINTAINER Antonio Xanxess <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
ENV FQDN testpuppet.example
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN apt-get update
RUN echo "locales locales/locales_to_be_generated multiselect es_ES.UTF-8 UTF-8" | debconf-set-selections &&\
echo "locales locales/default_environment_locale select es_ES.UTF-8" | debconf-set-selections
RUN apt-get install -y locales wget
ENV LC_ALL es_ES.UTF-8
RUN wget http://apt.puppetlabs.com/puppetlabs-release-jessie.deb && dpkg -i puppetlabs-release-jessie.deb && apt-get update && apt-get install -y \
puppet \
puppetmaster-passenger \
subversion \
&& apt-get clean
COPY puppetmaster.conf /etc/apache2/sites-available/
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 8140
CMD ["-D", "FOREGROUND"]