barnabyshearer/dockerfromscratch

By barnabyshearer

Updated over 4 years ago

Builds docker images for a simple Python + Postgres App from scratch.

Image
Security
Operating systems
0

1.8K

barnabyshearer/dockerfromscratch repository overview

issues

Dockerfile

Made possible by Linux From Scratch.

That is not a Dockerfile

Favours:

  • Up to date
  • Stable
  • Default configuration
  • Most common features enabled
  • Minimal programs and libraries in each image

Build and run a Nginx, uWSGI + Python, Postgres stack:

DOCKER_CONTENT_TRUST=1 COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up -d

You can also cross-compile:

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --use
docker buildx build --platform linux/arm64 --tag=scratch-nginx --target=nginx .

Tag summary

Content type

Image

Digest

Size

47.3 MB

Last updated

over 4 years ago

docker pull barnabyshearer/dockerfromscratch:10.1.0-nginx