Skip to content

Commit 5a0a766

Browse files
authored
Merge pull request #3 from corelight/topic/carl.lewis/TEKOPS-705
Topic/carl.lewis/tekops 705
2 parents a1c1d65 + 2b8a9ed commit 5a0a766

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

Dockerfile

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
FROM hashicorp/terraform:0.12.29
1+
FROM vault:1.5.3
22
LABEL maintainer="Corelight AWS Team <aws@corelight.com>"
3-
LABEL description="Serverless with Terraform for CI/CD"
3+
LABEL description="Serverless and Vault with Terraform for CI/CD"
44

5-
RUN apk add --no-cache --update git bash openssh make nodejs nodejs-npm
6-
RUN npm install -g serverless \
5+
6+
RUN wget --quiet https://releases.hashicorp.com/terraform/0.12.29/terraform_0.12.29_linux_amd64.zip \
7+
&& unzip terraform_0.12.29_linux_amd64.zip \
8+
&& mv terraform /usr/bin \
9+
&& rm terraform_0.12.29_linux_amd64.zip
10+
11+
RUN apk add --no-cache --update git bash openssh make nodejs nodejs-npm jq
12+
RUN npm install -g serverless@1.66 \
713
serverless-domain-manager \
814
serverless-plugin-git-variables \
915
serverless-prune-plugin \
@@ -14,6 +20,4 @@ RUN npm install -g serverless \
1420
RUN apk add --no-cache --update python3 py-pip groff && \
1521
pip install --upgrade awscli python-gitlab
1622

17-
RUN ln -s /usr/bin/python3 /usr/bin/python
18-
1923
ENTRYPOINT ["/bin/bash", "-l", "-c"]

0 commit comments

Comments
 (0)