Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 4 hours 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 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-18T09:05:05.000Z (almost 2 years ago)
- Last Synced: 2023-08-04T21:53:34.726Z (over 1 year ago)
- Topics: docker, dockerfile
- Language: Dockerfile
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 2
- 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
[![hub.docker.io](https://img.shields.io/docker/v/barnabyshearer/dockerfromscratch/latest?color=success&label=docker)](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/).
![That is not a Dockerfile](https://github.com/BarnabyShearer/DockerFromScratch/raw/main/meme.jpg)
Favours:
- Up to date
- Stable
- Default configuration
- Most common features enabled
- Minimal programs and libraries in each imageBuild 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 .