Compare commits

..

1 Commits

Author SHA1 Message Date
Pavel Dmitriev ef10f85559 Added agola CI
agola/fox-web-basic/Build image The run finished successfully Details
2022-05-02 17:56:28 +03:00
3 changed files with 3 additions and 9 deletions

View File

@ -1,7 +1,6 @@
FROM ubuntu:20.04
ENV php_version=8.1
ENV FOX_WEBROOT=/var/www/html
ENV php_version=7.4
COPY ["/rootfs/etc/timezone", "/rootfs/etc/localtime", "/etc/"]
@ -25,14 +24,12 @@ RUN apt-get update -y \
php${php_version}-msgpack \
php${php_version}-oauth \
php${php_version}-zip \
php${php_version}-sqlite3 \
cron \
&& apt-get purge gnupg gnupg1 gnupg2 software-properties-common -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/www/html/* \
&& a2enmod rewrite \
&& sed -i -e 's/^ErrorLog.*$/ErrorLog \/dev\/stdout/g' /etc/apache2/apache2.conf
&& a2enmod rewrite
COPY rootfs /
WORKDIR /var/www/html

View File

@ -1,7 +1,4 @@
#!/bin/sh
echo -n "Copying FOX ENV...";
env | grep -E "^FOX_" > /etc/security/pam_env.conf
echo "OK"
find /etc/fox-start.d -maxdepth 1 -type f -exec {} \;
echo "Starting cron:"

View File

@ -21,7 +21,7 @@
# modules, e.g.
#LogLevel info ssl:warn
#ErrorLog ${APACHE_LOG_DIR}/error.log
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are