Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Pavel Dmitriev | ef10f85559 |
|
@ -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
|
||||
|
|
|
@ -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:"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue