From d5d74239eec9fbc7ff86fd0c3c89a4f5d5edf76f Mon Sep 17 00:00:00 2001 From: Falko Richter Date: Thu, 11 Jul 2024 08:46:40 +0200 Subject: [PATCH] adding python3 as a layer to the image --- bffh-v0.4.2-with-python3-dockerfile | 9 +++++++++ docker-compose.yaml | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 bffh-v0.4.2-with-python3-dockerfile diff --git a/bffh-v0.4.2-with-python3-dockerfile b/bffh-v0.4.2-with-python3-dockerfile new file mode 100644 index 0000000..150edc8 --- /dev/null +++ b/bffh-v0.4.2-with-python3-dockerfile @@ -0,0 +1,9 @@ +FROM registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2 + +RUN apt update && apt install -y python3 + +# this adds python3 to this version of the fabaccess bffh server + +# https://www.codewithjason.com/docker-hello-world-app/ helped me: +# docker build --tag bffh-v0.4.2-with-python3 -f bffh-v0.4.2-with-python3-dockerfile . +# https://stackoverflow.com/questions/57528077/docker-compose-with-name-other-than-dockerfile \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 72efa88..6d27b79 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,9 @@ services: # - "./config/dnsrobocert:/etc/dnsrobocert" bffh: - image: registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2 + build: + context: . + dockerfile: bffh-v0.4.2-with-python3-dockerfile pull_policy: always restart: always ports: