push to php8
This commit is contained in:
parent
6f5d7b2b87
commit
e4af4f1736
122
Dockerfile
122
Dockerfile
@ -1,43 +1,42 @@
|
|||||||
FROM alpine:3.12 AS builder
|
FROM alpine:3.14 AS builder
|
||||||
|
|
||||||
ENV NC_VERSION=20.0.3
|
ENV NC_VERSION=21.0.2
|
||||||
ENV NC_SHA256_SUM=e0f64504d338f64d3c677357f0012cf8b0ed0dc42ec08f958b6dc4ff70edf175
|
ENV NC_SHA256_SUM=5e5b38109a3485db5fd2d248f24478eabe6c0790ec10b030acbbee207d5511fe
|
||||||
RUN wget https://download.nextcloud.com/server/releases/nextcloud-$NC_VERSION.tar.bz2
|
RUN wget https://download.nextcloud.com/server/releases/nextcloud-$NC_VERSION.tar.bz2
|
||||||
RUN echo "$NC_SHA256_SUM nextcloud-$NC_VERSION.tar.bz2" | sha256sum -c - || exit 1
|
RUN echo "$NC_SHA256_SUM nextcloud-$NC_VERSION.tar.bz2" | sha256sum -c - || exit 1
|
||||||
RUN mkdir -p /var/lib/nextcloud
|
RUN mkdir -p /var/lib/nextcloud
|
||||||
RUN tar xjf nextcloud-$NC_VERSION.tar.bz2 -C /var/lib/nextcloud --strip 1
|
RUN tar xjf nextcloud-$NC_VERSION.tar.bz2 -C /var/lib/nextcloud --strip 1
|
||||||
|
|
||||||
ENV TFA_VERSION=v5.0.0
|
ENV TFA_VERSION=v6.0.0
|
||||||
ENV TFA_SHA256_SUM=704f4dbf52a6ee9e197bbe457a1d5fb70010e5136170f9b42d5733543cc68de3
|
ENV TFA_SHA256_SUM=29f64c5d825ac6967d514ce0ecadc19f9b4f8f9669019db1ffa96348acbfd820
|
||||||
RUN wget https://github.com/nextcloud/twofactor_totp/releases/download/$TFA_VERSION/twofactor_totp.tar.gz
|
RUN wget https://github.com/nextcloud/twofactor_totp/releases/download/$TFA_VERSION/twofactor_totp.tar.gz
|
||||||
RUN echo "$TFA_SHA256_SUM twofactor_totp.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$TFA_SHA256_SUM twofactor_totp.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/twofactor_totp
|
RUN mkdir /var/lib/nextcloud/apps/twofactor_totp
|
||||||
RUN tar xzf twofactor_totp.tar.gz -C /var/lib/nextcloud/apps/twofactor_totp --strip 1
|
RUN tar xzf twofactor_totp.tar.gz -C /var/lib/nextcloud/apps/twofactor_totp --strip 1
|
||||||
|
|
||||||
ENV U2F_VERSION=v6.0.0
|
ENV U2F_VERSION=v6.1.0
|
||||||
ENV U2F_SHA256_SUM=7c0e8985c3e0ad72a1eba1c55f4f1789dadc5b4079e4825b16eae2eaecf00afe
|
ENV U2F_SHA256_SUM=40bd5ccd3560358b0fc8d5ad0e541bc7f7b9229abbc4c55457dc3e9bf2c7c062
|
||||||
RUN wget https://github.com/nextcloud/twofactor_u2f/releases/download/$U2F_VERSION/twofactor_u2f.tar.gz
|
RUN wget https://github.com/nextcloud/twofactor_u2f/releases/download/$U2F_VERSION/twofactor_u2f.tar.gz
|
||||||
RUN echo "$U2F_SHA256_SUM twofactor_u2f.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$U2F_SHA256_SUM twofactor_u2f.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/twofactor_u2f
|
RUN mkdir /var/lib/nextcloud/apps/twofactor_u2f
|
||||||
RUN tar xzf twofactor_u2f.tar.gz -C /var/lib/nextcloud/apps/twofactor_u2f --strip 1
|
RUN tar xzf twofactor_u2f.tar.gz -C /var/lib/nextcloud/apps/twofactor_u2f --strip 1
|
||||||
|
|
||||||
ENV POLLS_VERSION=1.6.3
|
ENV POLLS_VERSION=2.0.2
|
||||||
ENV POLLS_SHA256_SUM=3437bb1d23608e220682d3f00fc83e5906623098f0b307199871ba65eaec7af3
|
ENV POLLS_SHA256_SUM=4b4e734e106d8b413deeb65023b049ee747c0323860493cc7a47f84634cf0d95
|
||||||
RUN wget https://github.com/nextcloud/polls/releases/download/v$POLLS_VERSION/polls-$POLLS_VERSION.zip
|
RUN wget https://github.com/nextcloud/polls/releases/download/v$POLLS_VERSION/polls-$POLLS_VERSION.tar.gz
|
||||||
RUN echo "$POLLS_SHA256_SUM polls-$POLLS_VERSION.zip" | sha256sum -c - || exit 1
|
RUN echo "$POLLS_SHA256_SUM polls-$POLLS_VERSION.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/polls
|
RUN mkdir /var/lib/nextcloud/apps/polls
|
||||||
RUN unzip -d "/var/lib/nextcloud/apps/polls" "polls-$POLLS_VERSION.zip"
|
RUN tar xzf polls-$POLLS_VERSION.tar.gz -C /var/lib/nextcloud/apps/polls --strip 1
|
||||||
RUN mv /var/lib/nextcloud/apps/polls/*/* /var/lib/nextcloud/apps/polls/
|
|
||||||
|
|
||||||
ENV CONTACTS_VERSION=v3.4.2
|
ENV CONTACTS_VERSION=v3.5.1
|
||||||
ENV CONTACTS_SHA256_SUM=cb72426c0bb6d38bb19aaba091b666fbd17c27683b5adc8287e96696ee77f94c
|
ENV CONTACTS_SHA256_SUM=d83f6af637e436b4e16fcba8c4d4e3b878082a77f4b552738abfe1aad0b0aae7
|
||||||
RUN wget https://github.com/nextcloud/contacts/releases/download/$CONTACTS_VERSION/contacts.tar.gz
|
RUN wget https://github.com/nextcloud/contacts/releases/download/$CONTACTS_VERSION/contacts.tar.gz
|
||||||
RUN echo "$CONTACTS_SHA256_SUM contacts.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$CONTACTS_SHA256_SUM contacts.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/contacts
|
RUN mkdir /var/lib/nextcloud/apps/contacts
|
||||||
RUN tar xzf contacts.tar.gz -C /var/lib/nextcloud/apps/contacts --strip 1
|
RUN tar xzf contacts.tar.gz -C /var/lib/nextcloud/apps/contacts --strip 1
|
||||||
|
|
||||||
ENV CALENDAR_VERSION=v2.1.2
|
ENV CALENDAR_VERSION=v2.2.2
|
||||||
ENV CALENDAR_SHA256_SUM=aedde93dd0c59ddebb2b92bfce549c52410dffe7ce4e06cd4d1ea16c0dac42e7
|
ENV CALENDAR_SHA256_SUM=5080aad2e23179de454885bc27f3911d6c45c48b81d0f3163e9c84c97f00e008
|
||||||
RUN wget https://github.com/nextcloud/calendar/releases/download/$CALENDAR_VERSION/calendar.tar.gz
|
RUN wget https://github.com/nextcloud/calendar/releases/download/$CALENDAR_VERSION/calendar.tar.gz
|
||||||
RUN echo "$CALENDAR_SHA256_SUM calendar.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$CALENDAR_SHA256_SUM calendar.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/calendar
|
RUN mkdir /var/lib/nextcloud/apps/calendar
|
||||||
@ -50,56 +49,56 @@ RUN echo "$TASKS_SHA256_SUM tasks.tar.gz" | sha256sum -c - || exit 1
|
|||||||
RUN mkdir /var/lib/nextcloud/apps/tasks
|
RUN mkdir /var/lib/nextcloud/apps/tasks
|
||||||
RUN tar xzf tasks.tar.gz -C /var/lib/nextcloud/apps/tasks --strip 1
|
RUN tar xzf tasks.tar.gz -C /var/lib/nextcloud/apps/tasks --strip 1
|
||||||
|
|
||||||
ENV NOTES_VERSION=v4.0.1
|
ENV NOTES_VERSION=v4.0.4
|
||||||
ENV NOTES_SHA256_SUM=52d920d1f021cb8975f9c40bb434ac8bc7294c5a8cecf33ba1ac19e6a30493b5
|
ENV NOTES_SHA256_SUM=83c547a1024de1a0d31b9a1b2374124882c9e85ca0bc0c9d8ced0d08db4e0397
|
||||||
RUN wget https://github.com/nextcloud/notes/releases/download/$NOTES_VERSION/notes.tar.gz
|
RUN wget https://github.com/nextcloud/notes/releases/download/$NOTES_VERSION/notes.tar.gz
|
||||||
RUN echo "$NOTES_SHA256_SUM notes.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$NOTES_SHA256_SUM notes.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/notes
|
RUN mkdir /var/lib/nextcloud/apps/notes
|
||||||
RUN tar xzf notes.tar.gz -C /var/lib/nextcloud/apps/notes --strip 1
|
RUN tar xzf notes.tar.gz -C /var/lib/nextcloud/apps/notes --strip 1
|
||||||
|
|
||||||
ENV NEWS_VERSION=15.1.0
|
ENV NEWS_VERSION=15.4.5
|
||||||
ENV NEWS_SHA256_SUM=7b8498fac01a4ad9ee1c9e156d5b612cb947dfb9144d45467ade1b070781a7a8
|
ENV NEWS_SHA256_SUM=01564de929fdba032b9de236e46f9b53eac580b205f1789101870758a4a372c6
|
||||||
RUN wget https://github.com/nextcloud/news/releases/download/$NEWS_VERSION/news.tar.gz
|
RUN wget https://github.com/nextcloud/news/releases/download/$NEWS_VERSION/news.tar.gz
|
||||||
RUN echo "$NEWS_SHA256_SUM news.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$NEWS_SHA256_SUM news.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/news
|
RUN mkdir /var/lib/nextcloud/apps/news
|
||||||
RUN tar xzf news.tar.gz -C /var/lib/nextcloud/apps/news --strip 1
|
RUN tar xzf news.tar.gz -C /var/lib/nextcloud/apps/news --strip 1
|
||||||
|
|
||||||
ENV EMAIL_VERSION=v1.7.2
|
ENV EMAIL_VERSION=v1.9.5
|
||||||
ENV EMAIL_SHA256_SUM=e0f1192a3d7b5154bab86760eeaec7678b15a3aa9b244484ed77f5d47fc5e839
|
ENV EMAIL_SHA256_SUM=949089ac8f1cfe4d710091baef43ebdc4941e42f2687971d8dbad801a7117b66
|
||||||
RUN wget https://github.com/nextcloud/mail/releases/download/$EMAIL_VERSION/mail.tar.gz
|
RUN wget https://github.com/nextcloud/mail/releases/download/$EMAIL_VERSION/mail.tar.gz
|
||||||
RUN echo "$EMAIL_SHA256_SUM mail.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$EMAIL_SHA256_SUM mail.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/mail
|
RUN mkdir /var/lib/nextcloud/apps/mail
|
||||||
RUN tar xzf mail.tar.gz -C /var/lib/nextcloud/apps/mail --strip 1
|
RUN tar xzf mail.tar.gz -C /var/lib/nextcloud/apps/mail --strip 1
|
||||||
|
|
||||||
ENV ELEMENT_VERSION=v0.6.17
|
ENV ELEMENT_VERSION=v0.7.11
|
||||||
ENV ELEMENT_SHA256_SUM=18a8573122323fbc9a10288c7366296c0e30fd7d3a8a4b46d41c94d4918cd3ec
|
ENV ELEMENT_SHA256_SUM=1037a7ceddff2337b96af49e219267bce772082cebe38a526c56bb9ab2d96ad7
|
||||||
RUN wget https://github.com/gary-kim/riotchat/releases/download/$ELEMENT_VERSION/riotchat.tar.gz
|
RUN wget https://github.com/gary-kim/riotchat/releases/download/$ELEMENT_VERSION/riotchat.tar.gz
|
||||||
RUN echo "$ELEMENT_SHA256_SUM riotchat.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$ELEMENT_SHA256_SUM riotchat.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/riotchat
|
RUN mkdir /var/lib/nextcloud/apps/riotchat
|
||||||
RUN tar xzf riotchat.tar.gz -C /var/lib/nextcloud/apps/riotchat --strip 1
|
RUN tar xzf riotchat.tar.gz -C /var/lib/nextcloud/apps/riotchat --strip 1
|
||||||
|
|
||||||
ENV MASTODON_INTEGRATION_VERSION=0.0.11
|
ENV MASTODON_INTEGRATION_VERSION=1.0.0
|
||||||
ENV MASTODON_INTEGRATION_SHA256_SUM=71d65b9873d6c295ba50f553307bc902c9ac6da9b27e5db8cd6b92cabe1b903e
|
ENV MASTODON_INTEGRATION_SHA256_SUM=7555d2c5343f3095ddaff9639215e34c6ba7aad0b2ca57926dcab052417bc3e4
|
||||||
RUN wget https://github.com/nextcloud/integration_mastodon/releases/download/v$MASTODON_INTEGRATION_VERSION/integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz
|
RUN wget https://github.com/nextcloud/integration_mastodon/releases/download/v$MASTODON_INTEGRATION_VERSION/integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz
|
||||||
RUN echo "$MASTODON_INTEGRATION_SHA256_SUM integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$MASTODON_INTEGRATION_SHA256_SUM integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/integration_mastodon
|
RUN mkdir /var/lib/nextcloud/apps/integration_mastodon
|
||||||
RUN tar xzf integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_mastodon --strip 1
|
RUN tar xzf integration_mastodon-$MASTODON_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_mastodon --strip 1
|
||||||
|
|
||||||
ENV GITHUB_INTEGRATION_VERSION=0.0.14
|
ENV GITHUB_INTEGRATION_VERSION=1.0.0
|
||||||
ENV GITHUB_INTEGRATION_SHA256_SUM=792e38dfa7e84b4e6d10f4746c0d0ad0cdc5cc94fb85323742e81387c2a05252
|
ENV GITHUB_INTEGRATION_SHA256_SUM=1b35808e885d4fac350d44bf842d35245ee731d0e80f54ec5f04a4bf0592e382
|
||||||
RUN wget https://github.com/nextcloud/integration_github/releases/download/v$GITHUB_INTEGRATION_VERSION/integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz
|
RUN wget https://github.com/nextcloud/integration_github/releases/download/v$GITHUB_INTEGRATION_VERSION/integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz
|
||||||
RUN echo "$GITHUB_INTEGRATION_SHA256_SUM integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$GITHUB_INTEGRATION_SHA256_SUM integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/integration_github
|
RUN mkdir /var/lib/nextcloud/apps/integration_github
|
||||||
RUN tar xzf integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_github --strip 1
|
RUN tar xzf integration_github-$GITHUB_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_github --strip 1
|
||||||
|
|
||||||
ENV GITLAB_INTEGRATION_VERSION=0.0.8
|
ENV GITLAB_INTEGRATION_VERSION=1.0.0
|
||||||
ENV GITLAB_INTEGRATION_SHA256_SUM=aff5056473da02a6374102f0f503ffe3dcd2c41d4c6375eb8f90383325eef606
|
ENV GITLAB_INTEGRATION_SHA256_SUM=a940870f78ee68c1b3ef0767aaf882ee5f863023b459467312058fa61fe11075
|
||||||
RUN wget https://github.com/nextcloud/integration_gitlab/releases/download/v$GITLAB_INTEGRATION_VERSION/integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz
|
RUN wget https://github.com/nextcloud/integration_gitlab/releases/download/v$GITLAB_INTEGRATION_VERSION/integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz
|
||||||
RUN echo "$GITLAB_INTEGRATION_SHA256_SUM integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$GITLAB_INTEGRATION_SHA256_SUM integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir /var/lib/nextcloud/apps/integration_gitlab
|
RUN mkdir /var/lib/nextcloud/apps/integration_gitlab
|
||||||
RUN tar xzf integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_gitlab --strip 1
|
RUN tar xzf integration_gitlab-$GITLAB_INTEGRATION_VERSION.tar.gz -C /var/lib/nextcloud/apps/integration_gitlab --strip 1
|
||||||
|
|
||||||
FROM thallian/php7-fpm:latest
|
FROM thallian/php8-fpm:latest
|
||||||
|
|
||||||
COPY --from=builder /var/lib/nextcloud /var/lib/nextcloud
|
COPY --from=builder /var/lib/nextcloud /var/lib/nextcloud
|
||||||
|
|
||||||
@ -110,41 +109,38 @@ ENV PHP_MEMORY_LIMIT=512M
|
|||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
nginx \
|
nginx \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
php7-cli \
|
php8-cli \
|
||||||
php7-pecl-apcu \
|
php8-pecl-apcu \
|
||||||
php7-opcache \
|
php8-opcache \
|
||||||
php7-pcntl \
|
php8-pcntl \
|
||||||
#php7-imagick \
|
#php7-imagick \
|
||||||
php7-ctype \
|
php8-ctype \
|
||||||
php7-curl \
|
php8-curl \
|
||||||
php7-dom \
|
php8-dom \
|
||||||
php7-gd \
|
php8-gd \
|
||||||
php7-iconv \
|
php8-iconv \
|
||||||
php7-xml \
|
php8-xml \
|
||||||
php7-json \
|
php8-json \
|
||||||
php7-mbstring \
|
php8-mbstring \
|
||||||
php7-openssl \
|
php8-openssl \
|
||||||
php7-posix \
|
php8-posix \
|
||||||
php7-session \
|
php8-session \
|
||||||
php7-simplexml \
|
php8-simplexml \
|
||||||
php7-xmlreader \
|
php8-xmlreader \
|
||||||
php7-xmlwriter \
|
php8-xmlwriter \
|
||||||
php7-zip \
|
php8-zip \
|
||||||
php7-zlib \
|
php8-zlib \
|
||||||
php7-pdo_pgsql \
|
php8-pdo_pgsql \
|
||||||
php7-bz2 \
|
php8-bz2 \
|
||||||
php7-fileinfo \
|
php8-fileinfo \
|
||||||
php7-intl \
|
php8-intl \
|
||||||
php7-exif \
|
php8-exif \
|
||||||
php7-bcmath \
|
php8-bcmath \
|
||||||
php7-gmp \
|
php8-gmp \
|
||||||
php7-ldap
|
php8-ldap
|
||||||
|
|
||||||
RUN chown -R nginx:nginx /var/lib/nextcloud
|
RUN chown -R nginx:nginx /var/lib/nextcloud
|
||||||
|
|
||||||
RUN mkdir /run/nginx
|
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
|
||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
|
|
||||||
VOLUME [ "/var/lib/nextcloud/data", "/var/lib/nextcloud/config" ]
|
VOLUME [ "/var/lib/nextcloud/data", "/var/lib/nextcloud/config" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user