updated docker/build-ubnt2004.sh

This commit is contained in:
hyung-hwan 2020-12-20 08:27:18 +00:00
parent e22da8d083
commit 0698a382b6

View File

@ -45,6 +45,17 @@ cd .. && \
cp -pf /etc/codepot/codepot.httpd /etc/apache2/conf-enabled/codepot.conf && \ cp -pf /etc/codepot/codepot.httpd /etc/apache2/conf-enabled/codepot.conf && \
echo "PerlSwitches -Mlib=/etc/codepot/perl" >> /etc/apache2/conf-enabled/perl.conf echo "PerlSwitches -Mlib=/etc/codepot/perl" >> /etc/apache2/conf-enabled/perl.conf
cat <<EOF > /var/www/html/index.html
<html>
<head>
<title>Codepot</title>
<meta http-equiv="refresh" content="0;URL='/codepot'" />
</head>
<body>
<p>Access <a href="/codepot">this page</a> for codepot.</p>
</body>
</html>
EOF
apt-get remove --purge -y php-dev libsvn-dev make libfdisk1 && \ apt-get remove --purge -y php-dev libsvn-dev make libfdisk1 && \
apt-get auto-remove -y && rm -rf /var/lib/apt/lists/* apt-get auto-remove -y && rm -rf /var/lib/apt/lists/*