1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-07-19 01:27:56 +00:00

Fix timezone php.ini

This commit is contained in:
CrazyMax 2019-12-06 10:44:45 +01:00
parent 0f38a58bfe
commit 7935d50371
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ jobs:
echo ::set-output name=tag_name::${TAG}
echo ::set-output name=version::${TAG%-*}
else
echo ::set-output name=version::1.56
echo ::set-output name=version::snapshot
fi
echo ::set-output name=build_date::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=docker_username::librenmsbot

View file

@ -62,7 +62,7 @@ sed -e "s/@MEMORY_LIMIT@/$MEMORY_LIMIT/g" \
echo "Setting PHP INI configuration..."
sed -i "s|memory_limit.*|memory_limit = ${MEMORY_LIMIT}|g" /etc/php7/php.ini
sed -i "s|date\.timezone.*|date\.timezone = ${TZ}|g" /etc/php7/php.ini
sed -i "s|;date\.timezone.*|date\.timezone = ${TZ}|g" /etc/php7/php.ini
# OpCache
echo "Setting OpCache configuration..."