Skip to content
Snippets Groups Projects
Verified Commit 7df86830 authored by Tomáš Sapák's avatar Tomáš Sapák
Browse files

Initial commit

parent 2c00fa27
Branches main
No related tags found
No related merge requests found
Pipeline #457303 failed with stage
in 1 minute and 20 seconds
FROM alpine
FROM rclone/rclone:latest
ARG TERRAFORM_VERSION="1.4.2"
ARG ANSIBLE_VERSION="5.6.0"
RUN apk update && \
apk add --no-cache \
python3 \
py3-pip \
build-base \
libffi-dev \
openssl-dev
LABEL maintainer="Tomas Sapak <139890@muni.cz>"
LABEL terraform_version=${TERRAFORM_VERSION}
LABEL ansible_version=${ANSIBLE_VERSION}
RUN pip3 install --upgrade pip
ENV DEBIAN_FRONTEND=noninteractive
ENV TERRAFORM_VERSION=${TERRAFORM_VERSION}
ENV ANSIBLE_VERSION=${ANSIBLE_VERSION}
RUN pip3 install \
pyyaml \
py7zr
RUN export CRYPTOGRAPHY_DONT_BUILD_RUST=1\
&& apk add --no-cache --virtual build-dependencies python3-dev libffi-dev openssl-dev build-base unzip curl \
&& apk add openssh python3 git py3-pip jq yq \
&& pip3 install --upgrade pip \
&& pip3 install ansible==${ANSIBLE_VERSION} cryptography jinja2-cli passlib python-hcl2 netaddr \
&& ansible-galaxy collection install community.docker \
&& curl -LO https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
&& unzip '*.zip' -d /usr/local/bin \
&& rm *.zip \
&& apk del build-dependencies \
&& rm -rf /var/cache/apk/*
CMD ["/bin/bash"]
CMD ["/bin/sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment