mirror of
https://gitlab.com/volkersfreunde/dockercompose.git
synced 2025-04-21 02:56:26 +02:00
adding python3 as a layer to the image
This commit is contained in:
parent
d028a91486
commit
d5d74239ee
9
bffh-v0.4.2-with-python3-dockerfile
Normal file
9
bffh-v0.4.2-with-python3-dockerfile
Normal file
@ -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
|
@ -9,7 +9,9 @@ services:
|
|||||||
# - "./config/dnsrobocert:/etc/dnsrobocert"
|
# - "./config/dnsrobocert:/etc/dnsrobocert"
|
||||||
|
|
||||||
bffh:
|
bffh:
|
||||||
image: registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: bffh-v0.4.2-with-python3-dockerfile
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user