forked from GetTerminus/terraform-pr-commenter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (21 loc) · 784 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
ARG TERRAFORM_VERSION=1.5.7
FROM hashicorp/terraform:${TERRAFORM_VERSION}
LABEL repository="https://github.com/GetTerminus/terraform-pr-commenter" \
homepage="https://github.com/GetTerminus/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 --upgrade \
bash \
curl \
perl \
jq
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"]