Ubuntu image with Opentofu, awscli, google-cloud-cli, semaphoreui and other complementary tools.
135
An Ubuntu-based Docker image designed for DevOps, CI/CD, and Infrastructure as Code (IaC) environments. It integrates essential tools into a single container, such as Opentofu, AWS CLI, Google Cloud CLI, Ansible, and a graphical management interface via SemaphoreUI.
The container comes with the following pre-installed and ready-to-use tools:
opentofu, awscli (v2), google-cloud-cli, ansible.semaphoreui.ssh, sshpass, sshfs, samba-client, curl, wget, rsync, iputils-ping.git, jq, gnupg, tar, zip, unzip, nano, s3fs, swaks, expect, python3-pip, tzdata, software-properties-common, ca-certificates.The recommended way to deploy this environment is by using docker-compose. Below is an example docker-compose.yml file:
networks:
opentofu:
enable_ipv6: true
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: 1
services:
opentofu:
image: sinfallas/opentofu-all-in-one:latest
container_name: opentofu
hostname: opentofu
pull_policy: always
restart: always
ports:
- "3000:3000"
environment:
# AWS Credentials
- AWS_ACCESS_KEY_ID=your_access_key
- AWS_SECRET_ACCESS_KEY=your_secret_key
- AWS_DEFAULT_REGION=us-east-1
volumes:
- ./semaphore_data:/app # Semaphore persistent data
- ./recursos:/recursos # Directory for project resources
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
- opentofu
Run the following command to start the container in the background:
docker compose up -d
Once the container is running, you can access the Semaphore web interface from your browser:
admin0n0qNwFTHSMdd6i2m0xxukAuuVluppKD(It is highly recommended to change the password after the first login).
configuraraws)The image includes an internal script named configuraraws that automatically configures the AWS CLI using the injected environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION).
You can run it inside the container to quickly validate your credentials and identity (sts get-caller-identity).
/app -> Working directory and SQLite/Semaphore data. Mounting this allows you to persist your CI/CD tasks configuration./recursos -> A free-use directory to map scripts, SSH keys, or other files required for your deployments.Git image repository:
To report a bug or request support:
Content type
Image
Digest
sha256:18d5b710cโฆ
Size
534.3 MB
Last updated
29 days ago
docker pull sinfallas/opentofu-all-in-one