Skip to content

Commit

Permalink
v1.6.1.2 bug: fix sed in startup
Browse files Browse the repository at this point in the history
chor: update OS
  • Loading branch information
mhzawadi committed Dec 27, 2023
1 parent cf549c0 commit a1ec451
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18
FROM alpine:3.19
MAINTAINER Matthew Horwood <[email protected]>

RUN apk update \
Expand Down
2 changes: 0 additions & 2 deletions setup/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ln -s /dev/stdout /var/log/nginx/error.log

if [ ! -f "/var/www/html/ipconfig.php" ]; then
sed \
-e "1!b;s/^/#/" \
-e "s/DB_HOSTNAME=/DB_HOSTNAME=${MYSQL_HOST}/" \
-e "s/DB_USERNAME=/DB_USERNAME=${MYSQL_USER}/" \
-e "s/DB_PASSWORD=/DB_PASSWORD=${MYSQL_PASSWORD}/" \
Expand All @@ -15,7 +14,6 @@ if [ ! -f "/var/www/html/ipconfig.php" ]; then
-e "s!IP_URL=!IP_URL=${IP_URL}!" \
-e "s/DISABLE_SETUP=false/DISABLE_SETUP=${DISABLE_SETUP}/" \
/var/www/html/ipconfig.php.example > /var/www/html/ipconfig.php;
sed -i '1!b;s/^/#/' /var/www/html/ipconfig.php;

fi

Expand Down

0 comments on commit a1ec451

Please sign in to comment.