https://github.com/barnabyshearer/dockerfromscratch
Builds docker images for a simple Python + Postgres App from scratch.
https://github.com/barnabyshearer/dockerfromscratch
docker dockerfile
Last synced: 11 months ago
JSON representation
Builds docker images for a simple Python + Postgres App from scratch.
- Host: GitHub
- URL: https://github.com/barnabyshearer/dockerfromscratch
- Owner: BarnabyShearer
- License: mit
- Created: 2021-03-14T18:42:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-18T09:05:05.000Z (over 3 years ago)
- Last Synced: 2025-05-19T11:45:54.660Z (about 1 year ago)
- Topics: docker, dockerfile
- Language: Dockerfile
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
[//]: # (Autogenerated by https://github.com/BarnabyShearer/meta)
# DockerFromScratch
[](https://hub.docker.com/repository/docker/barnabyshearer/dockerfromscratch)
Builds docker images for a simple Python + Postgres App from scratch.
Made possible by [Linux From Scratch](https://www.linuxfromscratch.org/).

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 .