Skip to content

🐳 A lightweight Docker image with Docker, docker-compose, make, zip, git, curl, and Cookiecutter

License

Notifications You must be signed in to change notification settings

DNXLabs/docker-musketeers

 
 

Repository files navigation

docker-musketeers

Lint Security Build and Push Docker image

🐳 Lightweight image with essential tools for a 3 Musketeers project.

Tools

Docker & docker-compose

What would be a musketeers image without Docker and Compose? This image is based on Docker image and has docker-compose installed. This allows you to access Docker in Docker (DinD).

make

The 3 Musketeers pattern suggests a make target to call a make _target using Compose. However, make would often be in big images like Golang stretch and not in small ones like Alpine. Not every project needs big images.

zip

Another suggested pattern is to zip your dependencies. Even big images like Golang stretch does not include zip. It does include tar which you can use but sometimes a zip file is required like when deploying your Lambda function to AWS.

Other handy tools

  • curl
  • git
  • openssl
  • bash
  • envsubst
  • python3
  • pip3

Usage

# pull image
$ docker pull dnxsolutions/musketeers
# run image
$ docker run --rm dnxsolutions/musketeers docker --version

Development

# build image
make build

# test image
make test

# lint image
make lint

# go inside a musketeers container
make shell

Author

Managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

About

🐳 A lightweight Docker image with Docker, docker-compose, make, zip, git, curl, and Cookiecutter

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Dockerfile 61.9%
  • Makefile 25.4%
  • Shell 12.7%