-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (24 loc) · 1.12 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
25
26
27
28
29
30
FROM ymajik/puppetserver-standalone:stable
LABEL maintainer="ymajik ymajik@gmail.com"
ENV PUPPETDB_TERMINUS_VERSION="5.1.1" \
PUPPETDB_URL="puppetdb" \
PUPPETDB_PORT="8081"
LABEL org.label-schema.vendor="Puppet" \
org.label-schema.url="https://github.com/ymajik/docker-puppetserver" \
org.label-schema.name="Puppet Server" \
org.label-schema.license="MIT" \
org.label-schema.version=$PUPPET_SERVER_VERSION \
org.label-schema.vcs-url="https://github.com/ymajik/docker-puppetserver" \
org.label-schema.vcs-ref="${VCS_REF}" \
org.label-schema.build-date="${BUILD_DATE}" \
org.label-schema.schema-version="1.0" \
com.puppet.dockerfile="/Dockerfile"
RUN apt-get update && \
apt-get install --no-install-recommends -y puppetdb-termini="$PUPPETDB_TERMINUS_VERSION"-1puppetlabs1 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN puppet config set storeconfigs_backend puppetdb --section main && \
puppet config set storeconfigs true --section main && \
puppet config set reports puppetdb --section main
COPY puppetdb.conf /etc/puppetlabs/puppet/
COPY Dockerfile /