Sign inSign up

dnxsolutions/musketeers

By dnxsolutions

Updated almost 2 years ago

Image
0

100K+

dnxsolutions/musketeers repository overview

docker-musketeers

🐳 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.

Tag summary

Content type

Image

Digest

sha256:e2a807d92

Size

275.4 MB

Last updated

almost 2 years ago

docker pull dnxsolutions/musketeers