Skip to content

Latest commit

 

History

History
89 lines (60 loc) · 3.57 KB

README.md

File metadata and controls

89 lines (60 loc) · 3.57 KB

APT - Automated Provisioning Tools

github_actions_badge github_releases_badge github_container_badge

This image contains tools around Ansible, Packer and Terraform for automated provisioning of infrastructures:

  • Microsoft Azure
  • Amazon Web Services
  • On-Premises

The main purpose of this image is to act as a control node for development of declerative infrastructure as code (IaC) and configuration management (CM) used in CI/CD pipelines.

Getting Started

Prerequisities

Optional: Install a Nerd Font on the system and configure the used terminal (e.g. VS Code integrated terminal) to display all icons within the container's shell or editor.

Usage

By default this container is running infinitly, if started in detached mode. Mount volumes on container start to share IaC and CM files with the provisioning tools inside the container.

Run container:

# Docker on Linux or Mac
docker run --rm -d \
    -v "${PWD}:/srv" \
    --name apt ghcr.io/zeiss/apt

# Docker on Windows
docker run --rm -d `
    -v "${PWD}:/srv" `
    --name apt ghcr.io/zeiss/apt

Note: Follow the File Sharing section for prerequisities, if running Docker on Windows in Hyper-V mode.

Jump into running container:

docker exec -it apt bash

Run container with custom command:

# Docker on Linux or Mac
docker run --rm -it -v "${PWD}:/srv" ghcr.io/zeiss/apt \
    CMD

# Docker on Windows
docker run --rm -it -v "${PWD}:/srv" ghcr.io/zeiss/apt `
    CMD

Note: Connections from this container to the docker host can be established with the special DNS name host.docker.internal which resolves to the internal IP address used by the host.

Useful File Locations

Contributing

If you find issues, please register them at this GitHub project issue page or consider contributing code by following this guideline.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.