Use Github Actions to publish Docker images

This commit is contained in:
Frédéric Guillot
2020-10-25 18:31:33 -07:00
parent e470f807b4
commit 7e07546737
3 changed files with 65 additions and 29 deletions

View File

@@ -1,6 +1,4 @@
ARG BASE_IMAGE_ARCH="amd64"
FROM ${BASE_IMAGE_ARCH}/alpine:3.12
FROM alpine:3.12
VOLUME /var/www/app/data
VOLUME /var/www/app/plugins
@@ -11,7 +9,7 @@ EXPOSE 80 443
ARG VERSION
RUN apk --no-cache --update add \
openssl unzip nginx bash ca-certificates s6 curl ssmtp mailx php7 php7-phar php7-curl \
tzdata openssl unzip nginx bash ca-certificates s6 curl ssmtp mailx php7 php7-phar php7-curl \
php7-fpm php7-json php7-zlib php7-xml php7-dom php7-ctype php7-opcache php7-zip php7-iconv \
php7-pdo php7-pdo_mysql php7-pdo_sqlite php7-pdo_pgsql php7-mbstring php7-session php7-bcmath \
php7-gd php7-mcrypt php7-openssl php7-sockets php7-posix php7-ldap php7-simplexml && \