This Dockerfile builds a complete 80|20 image from tagged GitHub releases. It does not use kernel or package source from your local machine.
git clone https://github.com/the8020/deploy.git
cd deploy
docker build --build-arg VERSION=0.2 --tag the8020:0.2 .VERSION is required and must be major.minor. For 0.2, the build selects
the newest 0.2.x kernel and the newest compatible default packages from the
same major release, up to minor version 2.
The Dockerfile combines the complete built-executable directory, Docker runtime assets, release metadata, and initialized instance. New executables and helper assets do not require new Dockerfile copy rules. Image assembly and build-cache cleanup stay in Dockerfiles.
To build a kernel release already cloned locally, use that checkout's own
Dockerfile: docker build --tag the8020 . needs no build arguments.
docker volume create the8020-data
docker run --detach --name the8020 \
--security-opt seccomp=unconfined \
--publish 80:80 \
--publish 22:22 \
--volume the8020-data:/8020 \
the8020:0.2Open http://localhost/ and sign in with admin / admin.
To use different initial credentials, add these options when starting a fresh data volume:
--env THE8020_USERNAME=alice \
--env THE8020_PASSWORD='choose-a-password'The credential variables only create the first user. They never modify users already stored in the volume.