atmos/Dockerfile

13 lines
570 B
Text
Raw Normal View History

FROM python:latest
2019-04-09 16:54:28 +02:00
RUN apt update && apt install -y jq
RUN wget -O /tmp/terraform.zip `echo "https://releases.hashicorp.com/terraform/$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')/terraform_$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')_linux_amd64.zip"`
2019-04-09 16:54:28 +02:00
RUN unzip /tmp/terraform.zip
RUN mv terraform /usr/bin/
2019-08-14 12:49:55 +02:00
COPY git-askpass-helper.sh /usr/bin/git-pass
2020-01-24 14:12:49 +01:00
RUN mkdir /atmos
COPY atmos.py credentials.py workspaces.py /atmos/
RUN ln -s /atmos/atmos.py /usr/bin/atmos