Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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