Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
FROM ubuntu:18.04
USER root
RUN mkdir -p /terraform-artifacts; \
mkdir -p /root/.ssh
RUN apt-get update; \
apt-get install -y --no-install-recommends \
apt-utils && \
apt-get install -y --no-install-recommends \
sudo \
ca-certificates \
openssh-server \
git \
unzip \
wget \
nano && \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN git clone https://github.com/neurolibre/neurolibre-binderhub /neurolibre-binderhub/
RUN ssh-keyscan github.com >> /root/.ssh/known_hosts
RUN wget https://releases.hashicorp.com/terraform/0.11.0/terraform_0.11.0_linux_amd64.zip;\
unzip ./terraform_0.11.0_linux_amd64.zip -d /usr/local/bin/;\
rm ./terraform_0.11.0_linux_amd64.zip
COPY ./entrypoint.bash /
ENTRYPOINT ["/bin/bash", "/entrypoint.bash"]
CMD ["/bin/sh", "-c", "rm -rf .terraform && rm -f terraform.* && terraform init && terraform plan && terraform apply | tee logs"]