use php8
This commit is contained in:
parent
19165bdde0
commit
bf09e9bafc
60
Dockerfile
60
Dockerfile
@ -1,13 +1,13 @@
|
|||||||
FROM alpine:3.14 AS builder
|
FROM alpine:3.14 AS builder
|
||||||
|
|
||||||
ENV VERSION=1.4.11
|
ENV VERSION=1.5-rc
|
||||||
ENV SHA256_SUM=ac7319070c305fc2c88c7723605562d8607030732beee931cdb4091cf05e69b7
|
ENV SHA256_SUM=5287fbe5cf41ff2ae71648b863b0e4726d7f932c84f3b4fb30de096dc208f40c
|
||||||
RUN wget https://github.com/roundcube/roundcubemail/releases/download/$VERSION/roundcubemail-$VERSION-complete.tar.gz
|
RUN wget https://github.com/roundcube/roundcubemail/releases/download/$VERSION/roundcubemail-$VERSION-complete.tar.gz
|
||||||
RUN echo "$SHA256_SUM roundcubemail-$VERSION-complete.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$SHA256_SUM roundcubemail-$VERSION-complete.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir -p /var/lib/roundcube
|
RUN mkdir -p /var/lib/roundcube
|
||||||
RUN tar xzf roundcubemail-$VERSION-complete.tar.gz -C /var/lib/roundcube --strip 1
|
RUN tar xzf roundcubemail-$VERSION-complete.tar.gz -C /var/lib/roundcube --strip 1
|
||||||
|
|
||||||
FROM thallian/php7-fpm:latest
|
FROM thallian/php8-fpm:latest
|
||||||
|
|
||||||
COPY --from=builder /var/lib/roundcube /var/lib/roundcube
|
COPY --from=builder /var/lib/roundcube /var/lib/roundcube
|
||||||
|
|
||||||
@ -18,32 +18,32 @@ RUN apk add --no-cache \
|
|||||||
postgresql-client \
|
postgresql-client \
|
||||||
aspell \
|
aspell \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
php7 \
|
php8 \
|
||||||
php7-imap \
|
php8-imap \
|
||||||
php7-dom \
|
php8-dom \
|
||||||
php7-json \
|
php8-json \
|
||||||
php7-xml \
|
php8-xml \
|
||||||
php7-session \
|
php8-session \
|
||||||
php7-pdo \
|
php8-pdo \
|
||||||
php7-pdo_pgsql \
|
php8-pdo_pgsql \
|
||||||
php7-sockets \
|
php8-sockets \
|
||||||
php7-exif \
|
php8-exif \
|
||||||
php7-iconv \
|
php8-iconv \
|
||||||
php7-openssl \
|
php8-openssl \
|
||||||
php7-mbstring \
|
php8-mbstring \
|
||||||
php7-sockets \
|
php8-sockets \
|
||||||
php7-mcrypt \
|
php8-mcrypt \
|
||||||
php7-zip \
|
php8-zip \
|
||||||
php7-ldap \
|
php8-ldap \
|
||||||
php7-pspell \
|
php8-pspell \
|
||||||
php7-apcu \
|
php8-apcu \
|
||||||
php7-gd \
|
php8-gd \
|
||||||
php7-ctype \
|
php8-ctype \
|
||||||
php7-xmlreader \
|
php8-xmlreader \
|
||||||
php7-xmlwriter \
|
php8-xmlwriter \
|
||||||
php7-tokenizer \
|
php8-tokenizer \
|
||||||
php7-curl \
|
php8-curl \
|
||||||
php7-simplexml \
|
php8-simplexml \
|
||||||
composer
|
composer
|
||||||
|
|
||||||
WORKDIR /var/lib/roundcube
|
WORKDIR /var/lib/roundcube
|
||||||
@ -54,7 +54,7 @@ RUN chown -R nginx:nginx /var/lib/roundcube
|
|||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 8080
|
||||||
|
|
||||||
ENV FPMUSER nginx
|
ENV FPMUSER nginx
|
||||||
ENV FPMGROUP nginx
|
ENV FPMGROUP nginx
|
||||||
|
@ -22,7 +22,7 @@ http {
|
|||||||
{{range $domain := split (getenv "DOMAINS") ";"}}
|
{{range $domain := split (getenv "DOMAINS") ";"}}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 8080;
|
||||||
|
|
||||||
server_name {{ $domain }};
|
server_name {{ $domain }};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user