forked from RhinoSecurityLabs/cloudgoat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (17 loc) · 681 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
FROM python:3.8-alpine
LABEL maintainer="Rhino Assessment Team <[email protected]>"
LABEL cloudgoat.version="2.0.0"
RUN apk add --no-cache --update bash bash-completion docker-bash-completion openssh curl
# Install Terraform and AWS CLI
RUN wget -O terraform.zip 'https://releases.hashicorp.com/terraform/1.3.9/terraform_1.3.9_linux_arm64.zip' \
&& unzip terraform.zip \
&& rm terraform.zip \
&& mv ./terraform /usr/bin/ \
&& pip3 install awscli --upgrade
# Install CloudGoat
WORKDIR /usr/src/cloudgoat/core/python
COPY ./requirements.txt ./
RUN pip3 install -r ./requirements.txt
WORKDIR /usr/src/cloudgoat/
COPY ./ ./
ENTRYPOINT ["/bin/bash"]