From 3a50fff009b45237ce65917634e82a7e624cbf30 Mon Sep 17 00:00:00 2001 From: maurice Date: Tue, 4 Nov 2025 09:20:46 +0100 Subject: [PATCH] Changes --- containers/php/Containerfile | 3 ++- containers/php/config.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 containers/php/config.sh diff --git a/containers/php/Containerfile b/containers/php/Containerfile index aeb8304..a7fa550 100644 --- a/containers/php/Containerfile +++ b/containers/php/Containerfile @@ -1,3 +1,4 @@ FROM git.plabble.org/maurice/fedora:main +ARG php_version="8.1" # 8.4 is latest -RUN /bin/bash -c "export TERM=xterm && $(curl -fsSL https://php.new/install/linux/8.1)" \ No newline at end of file +RUN /bin/bash -c "export TERM=xterm && $(curl -fsSL https://php.new/install/linux/${php_version})" diff --git a/containers/php/config.sh b/containers/php/config.sh new file mode 100644 index 0000000..764f6c2 --- /dev/null +++ b/containers/php/config.sh @@ -0,0 +1,2 @@ +#!/bin/bash +arg "--cap-add=NET_BIND_SERVICE -p 80:80"