Sign inSign up

barnabyshearer/dockerfromscratch

By barnabyshearer

Updated almost 5 years ago

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

Image
Security
Operating systems
0

2.7K

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

864.1 MB

Last updated

almost 5 years ago

docker pull barnabyshearer/dockerfromscratch