forked from irasnyd/puppet-parser-validate-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
18 lines (14 loc) · 830 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:focal
LABEL name="puppet-parser-validate-action"
LABEL repository="https://github.com/researchgate/puppet-parser-validate-action"
LABEL homepage="https://github.com/researchgate/puppet-parser-validate-action"
LABEL "com.github.actions.name"="puppet-parser-validate-action"
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"="Berg <https://github.com/researchgate/>"
RUN apt-get update && apt-get install -y wget
RUN wget https://apt.puppet.com/puppet7-release-focal.deb && dpkg -i puppet7-release-focal.deb && apt-get update && apt-get install -y puppet-agent
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]