summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorCorry Haines2022-11-27 22:20:26 -0800
committerGitHub2022-11-27 23:20:26 -0700
commit9e99a6bba16f0378247c0fd93ea58457787d9e14 (patch)
treeda02cea97c460a6b5a639b62880b7abff1e68040 /docker
parent10315535bdae7310221c8b076e79774d05cc72d8 (diff)
downloadtakahe-9e99a6bba16f0378247c0fd93ea58457787d9e14.tar.gz
takahe-9e99a6bba16f0378247c0fd93ea58457787d9e14.tar.bz2
takahe-9e99a6bba16f0378247c0fd93ea58457787d9e14.zip
Modify docker FROM to allow mirror insertion (#69)
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9fd54c4..5c39a96 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,7 @@
-FROM python:3.11.0-slim-buster
+ARG IMAGE_HOST=python
+ARG IMAGE_LABEL=3.11.0-slim-buster
+
+FROM ${IMAGE_HOST}:${IMAGE_LABEL}
RUN apt-get update && apt-get -y install libpq-dev libxml2-dev libxslt1-dev zlib1g-dev python3-dev build-essential