-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
21 lines (16 loc) · 851 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:22.04
LABEL name="puppet-erb"
LABEL repository="https://github.com/lakshmiun/puppet-erb"
LABEL homepage="https://github.com/lakshmiun/puppet-erb"
LABEL "com.github.actions.name"="puppet-erb"
LABEL "com.github.actions.description"="GitHub Action to run 'puppet parser validate' syntax check"
LABEL "com.github.actions.icon"="share-2"
LABEL "com.github.actions.color"="orange"
LABEL "maintainer"="Sahaja Undavalli <https://github.com/lakshmiun/>"
RUN apt-get update && apt-get install --no-install-recommends --yes wget \
&& rm -rf /var/lib/apt/lists/*
RUN wget --no-check-certificate https://apt.puppetlabs.com/puppet7-release-focal.deb && dpkg -i puppet7-release-focal.deb && apt update \
&& apt install puppet-agent -y
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]