Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
terraform-runner
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CERIT-PUBLIC
docker-images
terraform-runner
Commits
7df86830
Verified
Commit
7df86830
authored
9 months ago
by
Tomáš Sapák
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+13
-22
13 additions, 22 deletions
Dockerfile
with
13 additions
and
22 deletions
Dockerfile
+
13
−
22
View file @
7df86830
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"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment