forked from RhinoSecurityLabs/cloudgoat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (17 loc) · 695 Bytes
/
Dockerfile
File metadata and controls
23 lines (17 loc) · 695 Bytes
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 <cloudgoat@rhinosecuritylabs.com>"
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/0.15.1/terraform_0.15.1_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 ./core/python/requirements.txt ./
RUN pip3 install -r ./requirements.txt
WORKDIR /usr/src/cloudgoat/
COPY ./ ./
ENTRYPOINT ["/bin/bash"]