/docker-sceptre

🐳 Containerised Sceptre on alpine to avoid having to install CLI on Dev or CI/CD machines.

Primary LanguageDockerfileApache License 2.0Apache-2.0

Docker Sceptre

Containerised Sceptre to ensure consistent local development and simple CD pipelines.

Usage

Run as a command using sceptre as entrypoint:

docker run --rm --entrypoint sceptre contino/sceptre --version

Run as a shell and mount the .aws directory and current directory as volumes:

docker run --rm -it -v ~/.aws:/root/.aws -v $(pwd):/opt/app contino/sceptre bash

Using docker-compose:

sceptre:
  image: contino/sceptre
  env_file: .env
  entrypoint: sceptre
  working_dir: /opt/app
  volumes:
  - ~/.aws:/root/.aws:ro
  - .:/opt/app:rw

And run docker-compose run sceptre --version

Build

Update the SCEPTRE_VERSION in both Makefile and Dockerfile. Then run:

make build

Docker Hub will automatically trigger a new build.

Related Projects