Skip to content

parisk/compose-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compose CLI Docker image

Docker image with Docker Compose CLI set up and ready to use. Perfect for your CI system (GitHub Actions or GitLab CI).

Images are published as parisk/compose-cli on GitHub Container Registry.

Tags

Images are tagged with corresponding release of Compose CLI as found in: https://github.com/docker/compose-cli/releases, using the latest docker image at the time of the release as base. For each tag there is also the *-aws variant, which adds awscli into the image, for convenience tasks, when you are deploying to ECS. Examples below

Usage

Locally

Bind the Docker socket and your desired working directory in the container and pick your desired image:

docker run -ti \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v $PWD:/usr/src/app \
  -w /usr/src/app \
  ghcr.io/parisk/compose-cli:2.0.0-beta.3 sh

GitHub Actions

Use this as a Docker image step:

jobs:
  your_job:
    steps:
      - name: A step
        uses: docker://ghcr.io/parisk/compose-cli:2.0.0-beta.3

GitLab CI

Put the following in the top directory of your .gitab-ci.yml file:

image: ghcr.io/parisk/compose-cli:2.0.0-beta.3

Custom builds

You can clone this repository and build customized builds according to your needs, by tweaking the available build arguments.

Build arguments

  • COMPOSE_CLI_VERSION: The version of Docker Compose CLI to install (default: v2.0.0-beta.3)
  • AWS_CLI_VERSION: The version of the AWS CLI to install (default: 1.19.90)

Built by Paris Kasidiaris and licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages