Skip to content

Commit a89eb0f

Browse files
committed
entrypoint.sh set codevInstall_timestamp
1 parent e136136 commit a89eb0f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

doc/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ ADD codevtt_config/log4php.xml /var/www/html/codevtt/
196196
ADD index.html /var/www/html/index.html
197197

198198
# debug
199-
RUN echo -e "<?php\nphpinfo();\n" > /var/www/html/phpinfo.php
199+
#RUN echo -e "<?php\nphpinfo();\n" > /var/www/html/phpinfo.php
200200

201201
# Not realy needed, but you might want to retrieve the appropriate DB init for this image.
202202
# docker exec -i docker-mariadb-1 mariadb -uroot -pmy_password --force bugtracker < mantis_codevtt_freshInstall.sql

doc/docker/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ mkdir -p /tmp/codevtt/logs
1313
if [ ! -f /var/www/html/codevtt/config/config.ini ] ; then
1414
echo " - Install default codevtt/config/config.ini"
1515
cp /install/codevtt_config/config.ini /var/www/html/codevtt/config/config.ini
16+
sed -i "s/codevInstall_timestamp = .*$/codevInstall_timestamp = $(date +%s)/g" /var/www/html/codevtt/config/config.ini
1617
fi
1718

1819
if [ ! -f /var/www/html/mantis/config/config_inc.php ] ; then

0 commit comments

Comments
 (0)