Move COPY back down

This commit is contained in:
Tilo Spannagel 2017-08-07 16:02:46 +02:00
parent bd3fc10d7d
commit 7366057ce1
No known key found for this signature in database
GPG Key ID: B89F1626A58E1429
8 changed files with 8 additions and 16 deletions

View File

@ -46,8 +46,6 @@ ENV NEXTCLOUD_VERSION 10.0.6
RUN chown -R www-data:root /var/www/html
VOLUME /var/www/html
COPY config/* /usr/src/nextcloud/config/
RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \
@ -65,6 +63,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
&& chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["apache2-foreground"]

View File

@ -44,8 +44,6 @@ ENV NEXTCLOUD_VERSION 10.0.6
RUN chown -R www-data:root /var/www/html
VOLUME /var/www/html
COPY config/* /usr/src/nextcloud/config/
RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \
@ -63,6 +61,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
&& chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]

View File

@ -47,8 +47,6 @@ ENV NEXTCLOUD_VERSION 11.0.4
RUN chown -R www-data:root /var/www/html
VOLUME /var/www/html
COPY config/* /usr/src/nextcloud/config/
RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \
@ -66,6 +64,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
&& chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["apache2-foreground"]

View File

@ -45,8 +45,6 @@ ENV NEXTCLOUD_VERSION 11.0.4
RUN chown -R www-data:root /var/www/html
VOLUME /var/www/html
COPY config/* /usr/src/nextcloud/config/
RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \
@ -64,6 +62,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
&& chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]

View File

@ -47,8 +47,6 @@ ENV NEXTCLOUD_VERSION 12.0.2
RUN chown -R www-data:root /var/www/html
VOLUME /var/www/html
COPY config/* /usr/src/nextcloud/config/
RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \
@ -66,6 +64,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
&& chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["apache2-foreground"]

View File

@ -45,8 +45,6 @@ ENV NEXTCLOUD_VERSION 12.0.2
RUN chown -R www-data:root /var/www/html
VOLUME /var/www/html
COPY config/* /usr/src/nextcloud/config/
RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \
@ -64,6 +62,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
&& chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]

View File

@ -47,8 +47,6 @@ ENV NEXTCLOUD_VERSION %%VERSION%%
RUN chown -R www-data:root /var/www/html
VOLUME /var/www/html
COPY config/* /usr/src/nextcloud/config/
RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \
@ -66,6 +64,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
&& chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["%%CMD%%"]

View File

@ -46,8 +46,6 @@ ENV NEXTCLOUD_VERSION %%VERSION%%
RUN chown -R www-data:root /var/www/html
VOLUME /var/www/html
COPY config/* /usr/src/nextcloud/config/
RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \
@ -65,6 +63,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
&& chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["%%CMD%%"]