|
@@ -7,11 +7,12 @@ FROM arm32v7/ubuntu:19.04
|
|
|
COPY ./Docker/qemu-arm-* /usr/bin/
|
|
COPY ./Docker/qemu-arm-* /usr/bin/
|
|
|
|
|
|
|
|
ENV TZ UTC
|
|
ENV TZ UTC
|
|
|
|
|
+SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
|
|
|
|
-RUN apt update && \
|
|
|
|
|
- apt install --no-install-recommends -y \
|
|
|
|
|
- ca-certificates cron curl \
|
|
|
|
|
|
|
+RUN apt-get update && \
|
|
|
|
|
+ apt-get install --no-install-recommends -y \
|
|
|
|
|
+ ca-certificates cron \
|
|
|
apache2 libapache2-mod-php \
|
|
apache2 libapache2-mod-php \
|
|
|
php-curl php-gmp php-intl php-mbstring php-xml php-zip \
|
|
php-curl php-gmp php-intl php-mbstring php-xml php-zip \
|
|
|
php-sqlite3 php-mysql php-pgsql && \
|
|
php-sqlite3 php-mysql php-pgsql && \
|
|
@@ -68,4 +69,4 @@ CMD ([ -z "$CRON_MIN" ] || cron) && \
|
|
|
exec apache2 -D FOREGROUND
|
|
exec apache2 -D FOREGROUND
|
|
|
|
|
|
|
|
HEALTHCHECK --start-period=20s --interval=37s --timeout=5s --retries=3 \
|
|
HEALTHCHECK --start-period=20s --interval=37s --timeout=5s --retries=3 \
|
|
|
- CMD curl -fsS 'http://localhost/i/' | grep -q 'jsonVars' || exit 1
|
|
|
|
|
|
|
+ CMD (php -r "readfile('http://localhost/i/');" | grep -q 'jsonVars') || exit 1
|