We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 514e363 commit b423851Copy full SHA for b423851
docker/entrypoint.sh
@@ -1,8 +1,5 @@
1
#! /bin/bash
2
3
- # mkdir /opt/ejudge
4
- # chown user:user /opt/ejudge
5
-
6
if [ ! -d /home/judges ]
7
then
8
mkdir -p /home/judges
@@ -60,6 +57,7 @@ then
60
57
chmod 600 "${SECRETFILE}"
61
58
fi
62
59
/opt/ejudge/bin/ejudge-install.sh
+ /opt/ejudge/bin/ejudge-configure-compilers --batch
63
64
65
if [ "${EJUDGE_MYSQL_USER}" != "" ]
@@ -79,4 +77,7 @@ unset EJUDGE_MYSQL_DATABASE
79
77
unset EJUDGE_MYSQL_HOST
80
78
unset EJUDGE_MYSQL_PORT
81
+PATH=/opt/ejudge/bin:$PATH
+/opt/ejudge/bin/ejudge-control -u ejudge -g ejudge start
82
+
83
/usr/sbin/httpd -DFOREGROUND
0 commit comments