forked from GetTerminus/terraform-pr-commenter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
26 lines (22 loc) · 814 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
ARG TERRAFORM_VERSION=1.4.6
FROM hashicorp/terraform:${TERRAFORM_VERSION}
LABEL repository="https://github.com/qventus-azepeda/terraform-pr-commenter" \
homepage="https://github.com/qventus-azepeda/terraform-pr-commenter" \
maintainer="Terminus Software" \
com.github.actions.name="Terraform PR Commenter" \
com.github.actions.description="Adds comments to a PR from Terraform fmt/init/plan/tflint output." \
com.github.actions.icon="git-pull-request" \
com.github.actions.color="blue"
RUN apk add --no-cache -q \
bash \
curl \
perl \
jq \
&& apk add --upgrade curl
ADD entrypoint.sh /entrypoint.sh
ADD /handlers /handlers
ADD /utilities /utilities
RUN chmod +x /entrypoint.sh
RUN chmod +x /handlers
RUN chmod +x /utilities
ENTRYPOINT ["/entrypoint.sh"]