-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 777 Bytes
/
Dockerfile
File metadata and controls
25 lines (19 loc) · 777 Bytes
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
FROM cypress/base:14.15.0
# Expose the 4200 port
EXPOSE 4200
# Copy required files in order to be able to do npm install
WORKDIR /dcos-ui
ENV TERRAFORM_VERSION=0.12.29
# Install required components & prepare environment
RUN set -x \
&& apt-get update \
&& apt-get install -y awscli lsof wget jq curl rsync openssh-client \
&& apt-get clean \
&& curl -o /usr/local/bin/dcos https://downloads.dcos.io/cli/testing/binaries/dcos/linux/x86-64/master/dcos \
&& chmod +x /usr/local/bin/dcos \
&& npm install -g dogapi
RUN cd /tmp \
&& wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
&& unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/bin
# Export mountable volumes
VOLUME /dcos-ui