-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (18 loc) · 935 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
FROM circleci/buildpack-deps:stretch
FROM circleci/python:3.8.0
RUN sudo apt-get update
RUN sudo apt-get install rsync
RUN sudo pip install --upgrade pip
RUN sudo pip install awscli
RUN sudo pip install yamllint
ENV TERRAFORM_VERSION="0.12.29"
RUN sudo curl -fsSLO --compressed https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip
RUN sudo unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /bin
RUN sudo rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip
ENV NODE_VERSION="14.16.0"
RUN sudo curl -fsSLO --compressed https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz
RUN sudo tar -xJf node-v${NODE_VERSION}-linux-x64.tar.xz -C /usr/local --strip-components=1 --no-same-owner
RUN sudo rm node-v${NODE_VERSION}-linux-x64.tar.xz
RUN sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs
RUN sudo npm install -g npm@latest
CMD ["/bin/sh"]