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"