The National Archives base Docker images are designed to serve as a starting point for all containerised applications in The National Archives.
| Image | Dockerfile | Base image | User |
|---|---|---|---|
tna-python |
tna-python/Dockerfile |
python |
app |
tna-python-dev |
tna-python-dev/Dockerfile |
tna-python |
root |
graph TD;
debian --> python;
python --> tna-python;
tna-python --> tna-python-dev;
# Build tna-python
docker build -t tna-python:local docker/tna-python
# Build tna-python-dev
docker build -t tna-python-dev:local --build-arg BASE_IMAGE=tna-python --build-arg BASE_IMAGE_TAG=local docker/tna-python-dev
# Run
docker run tna-python:local
# ...or
docker run tna-python-dev:local