File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11FROM hashicorp/terraform:0.12.29
2- # FROM hashicorp/terraform:light # when we can support v.12+
32LABEL maintainer="Corelight AWS Team <aws@corelight.com>"
43LABEL description="Serverless with Terraform for CI/CD"
54
6- RUN apk add --update git bash openssh make nodejs nodejs-npm
5+ RUN apk add --no-cache -- update git bash openssh make nodejs nodejs-npm
76RUN npm install -g serverless \
87 serverless-domain-manager \
98 serverless-plugin-git-variables \
@@ -12,9 +11,9 @@ RUN npm install -g serverless \
1211# Note: ignore "serverless update check failed" warning during "npm install"
1312
1413# Heavyweight considering we only use awscli for configuration, presently.
15- RUN apk add --update python py-pip && \
16- pip install --upgrade awscli python-gitlab && \
17- apk --purge del py-pip && \
18- rm /var/cache/apk/*
14+ RUN apk add --no-cache -- update python3 py-pip groff && \
15+ pip install --upgrade awscli python-gitlab
16+
17+ RUN ln -s /usr/bin/python3 /usr/bin/python
1918
2019ENTRYPOINT ["/bin/bash" , "-l" , "-c" ]
You can’t perform that action at this time.
0 commit comments