Compare commits

..

2 Commits

Author SHA1 Message Date
Markus Opolka
80a5f95fab Upgrading to Version 5.0.2+210607 2021-06-09 07:44:57 +02:00
Nimrod Zimerman
65c1902247 Fix Apache LISTEN_PORT "sed" command to look for whole "Listen" command (#64)
Otherwise, if the replaced port number contains "80" (for example, "8080",
as is now the default), it is replaced over and over on each activation
2021-06-08 09:56:17 +02:00
6 changed files with 9 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ fi
if [ "$LISTEN_PORT" != "80" ]; then if [ "$LISTEN_PORT" != "80" ]; then
echo "Info: Customizing Apache Listen port to $LISTEN_PORT" echo "Info: Customizing Apache Listen port to $LISTEN_PORT"
sed -i "s/80/$LISTEN_PORT/" /etc/apache2/ports.conf /etc/apache2/sites-available/000-default.conf sed -i "s/Listen 80\$/Listen $LISTEN_PORT/" /etc/apache2/ports.conf /etc/apache2/sites-available/000-default.conf
fi fi
# Check if database is available # Check if database is available

View File

@@ -41,7 +41,7 @@ fi
if [ "$LISTEN_PORT" != "80" ]; then if [ "$LISTEN_PORT" != "80" ]; then
echo "Info: Customizing Apache Listen port to $LISTEN_PORT" echo "Info: Customizing Apache Listen port to $LISTEN_PORT"
sed -i "s/80/$LISTEN_PORT/" /etc/apache2/ports.conf /etc/apache2/sites-available/000-default.conf sed -i "s/Listen 80\$/Listen $LISTEN_PORT/" /etc/apache2/ports.conf /etc/apache2/sites-available/000-default.conf
fi fi
# Check if database is available # Check if database is available

View File

@@ -1,7 +1,7 @@
FROM php:8-apache FROM php:8-apache
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='5.0.1+210532' ARG version='5.0.2+210607'
ARG sha256_checksum='4ece0065b246b2509094d20a4e430de41eb99a826ac79783974abe6f7ef39ad0' ARG sha256_checksum='1e257193765ef340992e00354cab6a29dd0935f680523049908d22ac76f4f909'
ARG USER=www-data ARG USER=www-data
ARG LISTEN_PORT=8080 ARG LISTEN_PORT=8080

View File

@@ -42,7 +42,7 @@ fi
if [ "$LISTEN_PORT" != "80" ]; then if [ "$LISTEN_PORT" != "80" ]; then
echo "Info: Customizing Apache Listen port to $LISTEN_PORT" echo "Info: Customizing Apache Listen port to $LISTEN_PORT"
sed -i "s/80/$LISTEN_PORT/" /etc/apache2/ports.conf /etc/apache2/sites-available/000-default.conf sed -i "s/Listen 80\$/Listen $LISTEN_PORT/" /etc/apache2/ports.conf /etc/apache2/sites-available/000-default.conf
fi fi
# Check if database is available # Check if database is available

View File

@@ -1,7 +1,7 @@
FROM php:8-fpm-alpine FROM php:8-fpm-alpine
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='5.0.1+210532' ARG version='5.0.2+210607'
ARG sha256_checksum='4ece0065b246b2509094d20a4e430de41eb99a826ac79783974abe6f7ef39ad0' ARG sha256_checksum='1e257193765ef340992e00354cab6a29dd0935f680523049908d22ac76f4f909'
ARG USER=www-data ARG USER=www-data
# Install OS dependencies # Install OS dependencies

View File

@@ -1,7 +1,7 @@
FROM php:8-fpm FROM php:8-fpm
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='5.0.1+210532' ARG version='5.0.2+210607'
ARG sha256_checksum='4ece0065b246b2509094d20a4e430de41eb99a826ac79783974abe6f7ef39ad0' ARG sha256_checksum='1e257193765ef340992e00354cab6a29dd0935f680523049908d22ac76f4f909'
ARG USER=www-data ARG USER=www-data
# Install OS dependencies # Install OS dependencies