From f336f45bd374ee9932b2badafca29f7761eb4f20 Mon Sep 17 00:00:00 2001 From: Alexander Chernov Date: Mon, 12 Jun 2023 09:06:38 +0300 Subject: [PATCH] remove .git directory --- docker/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/build.sh b/docker/build.sh index 0b51e9076..1d346b8e5 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -19,6 +19,7 @@ adduser -c 'ejudge compiler' -d /home/judges/compile -M -s /sbin/nologin ejcompi #RELEASE= RELEASE='RELEASE=1' +rm -rf .git ./configure --prefix=/opt/ejudge --enable-charset=utf-8 --with-httpd-cgi-bin-dir=/var/www/cgi-bin --with-httpd-htdocs-dir=/var/www/html --enable-ajax --enable-local-dir=/var/lib/ejudge --enable-hidden-server-bins --with-primary-user=ejudge --with-exec-user=ejexec --with-compile-user=ejcompile --enable-compile-spool-dir --enable-run-spool-dir --enable-contests-status-dir && ulimit -n 65536 && make ${RELEASE} && make ${RELEASE} install && /opt/ejudge/bin/ejudge-suid-setup && /opt/ejudge/bin/ejudge-upgrade-web > ejudge-install.sh