mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-04-19 12:09:21 +00:00
Merge 374ef997faf033118af6def6f2ef025b3d5655b6 into 921eec56937f5eaa7d059420bb19671907f8eee9
This commit is contained in:
commit
f4d7d62ff3
10
Dockerfile
10
Dockerfile
@ -18,11 +18,11 @@ ARG GPG_FINGERPRINT="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
|
||||
# ---------------------------------------------------
|
||||
|
||||
### Build PHP base
|
||||
FROM docker.io/library/php:${PHP_VERSION}-fpm-alpine${ALPINE_VERSION} as base
|
||||
FROM docker.io/library/php:${PHP_VERSION}-fpm-alpine${ALPINE_VERSION} AS base
|
||||
|
||||
ARG SNUFFLEUPAGUS_VERSION
|
||||
|
||||
ENV IMAGICK_SHA 28f27044e435a2b203e32675e942eb8de620ee58
|
||||
ENV IMAGICK_SHA=28f27044e435a2b203e32675e942eb8de620ee58
|
||||
|
||||
RUN apk -U upgrade \
|
||||
&& apk add -t build-deps \
|
||||
@ -88,7 +88,7 @@ RUN apk -U upgrade \
|
||||
|
||||
### Build Hardened Malloc
|
||||
ARG ALPINE_VERSION
|
||||
FROM docker.io/library/alpine:${ALPINE_VERSION} as build-malloc
|
||||
FROM docker.io/library/alpine:${ALPINE_VERSION} AS build-malloc
|
||||
|
||||
ARG HARDENED_MALLOC_VERSION
|
||||
ARG CONFIG_NATIVE=false
|
||||
@ -102,11 +102,11 @@ RUN apk --no-cache add build-base git gnupg && cd /tmp \
|
||||
|
||||
|
||||
### Fetch nginx
|
||||
FROM docker.io/library/nginx:${NGINX_VERSION}-alpine as nginx
|
||||
FROM docker.io/library/nginx:${NGINX_VERSION}-alpine AS nginx
|
||||
|
||||
|
||||
### Build Nextcloud (production environemnt)
|
||||
FROM base as nextcloud
|
||||
FROM base AS nextcloud
|
||||
|
||||
COPY --from=nginx /usr/sbin/nginx /usr/sbin/nginx
|
||||
COPY --from=nginx /etc/nginx /etc/nginx
|
||||
|
Loading…
x
Reference in New Issue
Block a user