Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nextcloud image #7680

Merged
merged 1 commit into from
Mar 24, 2020
Merged

Conversation

@J0WI
Copy link
Contributor

J0WI commented Mar 24, 2020

security update @tianon @yosifkit

@yosifkit
Copy link
Member

Diff:
diff --git a/_bashbrew-list b/_bashbrew-list
index 2657c5e..031cb0f 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -18,10 +18,10 @@ nextcloud:17.0
 nextcloud:17.0-apache
 nextcloud:17.0-fpm
 nextcloud:17.0-fpm-alpine
-nextcloud:17.0.4
-nextcloud:17.0.4-apache
-nextcloud:17.0.4-fpm
-nextcloud:17.0.4-fpm-alpine
+nextcloud:17.0.5
+nextcloud:17.0.5-apache
+nextcloud:17.0.5-fpm
+nextcloud:17.0.5-fpm-alpine
 nextcloud:18
 nextcloud:18-apache
 nextcloud:18-fpm
@@ -30,10 +30,10 @@ nextcloud:18.0
 nextcloud:18.0-apache
 nextcloud:18.0-fpm
 nextcloud:18.0-fpm-alpine
-nextcloud:18.0.2
-nextcloud:18.0.2-apache
-nextcloud:18.0.2-fpm
-nextcloud:18.0.2-fpm-alpine
+nextcloud:18.0.3
+nextcloud:18.0.3-apache
+nextcloud:18.0.3-fpm
+nextcloud:18.0.3-fpm-alpine
 nextcloud:apache
 nextcloud:fpm
 nextcloud:fpm-alpine
diff --git a/nextcloud_production-fpm-alpine/Dockerfile b/nextcloud_production-fpm-alpine/Dockerfile
index 4d42d30..69b757c 100644
--- a/nextcloud_production-fpm-alpine/Dockerfile
+++ b/nextcloud_production-fpm-alpine/Dockerfile
@@ -94,7 +94,7 @@ RUN { \
 VOLUME /var/www/html
 
 
-ENV NEXTCLOUD_VERSION 17.0.4
+ENV NEXTCLOUD_VERSION 17.0.5
 
 RUN set -ex; \
     apk add --no-cache --virtual .fetch-deps \
diff --git a/nextcloud_production-fpm/Dockerfile b/nextcloud_production-fpm/Dockerfile
index 9058902..46c7653 100644
--- a/nextcloud_production-fpm/Dockerfile
+++ b/nextcloud_production-fpm/Dockerfile
@@ -107,7 +107,7 @@ RUN { \
 VOLUME /var/www/html
 
 
-ENV NEXTCLOUD_VERSION 17.0.4
+ENV NEXTCLOUD_VERSION 17.0.5
 
 RUN set -ex; \
     fetchDeps=" \
diff --git a/nextcloud_production/Dockerfile b/nextcloud_production/Dockerfile
index 0142082..f2c1ef6 100644
--- a/nextcloud_production/Dockerfile
+++ b/nextcloud_production/Dockerfile
@@ -115,7 +115,7 @@ RUN a2enmod rewrite remoteip ;\
     } > /etc/apache2/conf-available/remoteip.conf;\
     a2enconf remoteip
 
-ENV NEXTCLOUD_VERSION 17.0.4
+ENV NEXTCLOUD_VERSION 17.0.5
 
 RUN set -ex; \
     fetchDeps=" \
diff --git a/nextcloud_stable-fpm-alpine/Dockerfile b/nextcloud_stable-fpm-alpine/Dockerfile
index 503382d..c52c3c3 100644
--- a/nextcloud_stable-fpm-alpine/Dockerfile
+++ b/nextcloud_stable-fpm-alpine/Dockerfile
@@ -94,7 +94,7 @@ RUN { \
 VOLUME /var/www/html
 
 
-ENV NEXTCLOUD_VERSION 18.0.2
+ENV NEXTCLOUD_VERSION 18.0.3
 
 RUN set -ex; \
     apk add --no-cache --virtual .fetch-deps \
diff --git a/nextcloud_stable-fpm/Dockerfile b/nextcloud_stable-fpm/Dockerfile
index bb19ac6..4a5cb1e 100644
--- a/nextcloud_stable-fpm/Dockerfile
+++ b/nextcloud_stable-fpm/Dockerfile
@@ -107,7 +107,7 @@ RUN { \
 VOLUME /var/www/html
 
 
-ENV NEXTCLOUD_VERSION 18.0.2
+ENV NEXTCLOUD_VERSION 18.0.3
 
 RUN set -ex; \
     fetchDeps=" \
diff --git a/nextcloud_stable/Dockerfile b/nextcloud_stable/Dockerfile
index 7619c6a..e8c6a3d 100644
--- a/nextcloud_stable/Dockerfile
+++ b/nextcloud_stable/Dockerfile
@@ -115,7 +115,7 @@ RUN a2enmod rewrite remoteip ;\
     } > /etc/apache2/conf-available/remoteip.conf;\
     a2enconf remoteip
 
-ENV NEXTCLOUD_VERSION 18.0.2
+ENV NEXTCLOUD_VERSION 18.0.3
 
 RUN set -ex; \
     fetchDeps=" \

@yosifkit
Copy link
Member

Build test of #7680; 033c06d; amd64 (nextcloud):

$ bashbrew build nextcloud:16.0.9-apache
Building bashbrew/cache:12b10c4ff9d33d904606e210cba9be599a2ea63434ca2da0878910d0c5c99498 (nextcloud:16.0.9-apache)
Tagging nextcloud:16.0.9-apache
Tagging nextcloud:16.0-apache
Tagging nextcloud:16-apache
Tagging nextcloud:16.0.9
Tagging nextcloud:16.0
Tagging nextcloud:16

$ test/run.sh nextcloud:16.0.9-apache
testing nextcloud:16.0.9-apache
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8]...............passed
	'nextcloud-cli-postgres' [6/8]................passed
	'nextcloud-cli-sqlite' [7/8].....passed
	'nextcloud-apache-run' [8/8]....passed


$ bashbrew build nextcloud:16.0.9-fpm-alpine
Building bashbrew/cache:78830f9562555a7c9e735f928151e2cc64ccec47c1585e434b008d2efcfcf760 (nextcloud:16.0.9-fpm-alpine)
Tagging nextcloud:16.0.9-fpm-alpine
Tagging nextcloud:16.0-fpm-alpine
Tagging nextcloud:16-fpm-alpine

$ test/run.sh nextcloud:16.0.9-fpm-alpine
testing nextcloud:16.0.9-fpm-alpine
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8]................passed
	'nextcloud-cli-postgres' [6/8]................passed
	'nextcloud-cli-sqlite' [7/8].....passed
	'nextcloud-fpm-run' [8/8]...passed


$ bashbrew build nextcloud:16.0.9-fpm
Building bashbrew/cache:ffe3080af1f1f068497563ad167089c0f7f670b4e7490afd32141f85610d6924 (nextcloud:16.0.9-fpm)
Tagging nextcloud:16.0.9-fpm
Tagging nextcloud:16.0-fpm
Tagging nextcloud:16-fpm

$ test/run.sh nextcloud:16.0.9-fpm
testing nextcloud:16.0.9-fpm
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8]...............passed
	'nextcloud-cli-postgres' [6/8]................passed
	'nextcloud-cli-sqlite' [7/8].....passed
	'nextcloud-fpm-run' [8/8]...passed


$ bashbrew build nextcloud:17.0.5-apache
Building bashbrew/cache:e4a6ea07daa5aadf4c98b95b2661e3f5541b5f42371996fa00e8ae68279494f3 (nextcloud:17.0.5-apache)
Tagging nextcloud:17.0.5-apache
Tagging nextcloud:17.0-apache
Tagging nextcloud:17-apache
Tagging nextcloud:production-apache
Tagging nextcloud:17.0.5
Tagging nextcloud:17.0
Tagging nextcloud:17
Tagging nextcloud:production

$ test/run.sh nextcloud:17.0.5-apache
testing nextcloud:17.0.5-apache
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8]................passed
	'nextcloud-cli-postgres' [6/8]..................passed
	'nextcloud-cli-sqlite' [7/8].....passed
	'nextcloud-apache-run' [8/8]....passed


$ bashbrew build nextcloud:17.0.5-fpm-alpine
Building bashbrew/cache:eb284165e9859afae62f6329ef18af5d53bcb2d5052b931cbd3070d83bdcc97d (nextcloud:17.0.5-fpm-alpine)
Tagging nextcloud:17.0.5-fpm-alpine
Tagging nextcloud:17.0-fpm-alpine
Tagging nextcloud:17-fpm-alpine
Tagging nextcloud:production-fpm-alpine

$ test/run.sh nextcloud:17.0.5-fpm-alpine
testing nextcloud:17.0.5-fpm-alpine
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8]................passed
	'nextcloud-cli-postgres' [6/8]................................the container failed to accept connections in a reasonable amount of time!
++ docker logs 3287534d2592a043eea55773c6e3ed97358e0832fd470c4a126eb62bdd56946b
Initializing nextcloud 17.0.5.0 ...
Initializing finished
New nextcloud instance
Installing with PostgreSQL database
starting nextcloud installation
++ eval '_occ app:list'
+++ _occ app:list
+++ docker exec -u www-data 3287534d2592a043eea55773c6e3ed97358e0832fd470c4a126eb62bdd56946b php occ app:list
Nextcloud is not installed - only a limited number of commands are available

                                      
  Command "app:list" is not defined.  
                                      
  Did you mean this?                  
      app:check-code                  
                                      

failed
	'nextcloud-cli-sqlite' [7/8].........passed
	'nextcloud-fpm-run' [8/8]...passed


$ bashbrew build nextcloud:17.0.5-fpm
Building bashbrew/cache:cf5a698ef150b0ce3fef3327978dec26bb502772e274d0e2debdd58334025e87 (nextcloud:17.0.5-fpm)
Tagging nextcloud:17.0.5-fpm
Tagging nextcloud:17.0-fpm
Tagging nextcloud:17-fpm
Tagging nextcloud:production-fpm

$ test/run.sh nextcloud:17.0.5-fpm
testing nextcloud:17.0.5-fpm
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8].................passed
	'nextcloud-cli-postgres' [6/8]...................passed
	'nextcloud-cli-sqlite' [7/8].....passed
	'nextcloud-fpm-run' [8/8]...passed


$ bashbrew build nextcloud:18.0.3-apache
Building bashbrew/cache:4789f4499c9f0809064513e6a2387b382af0ee0d4e18ed6b9f3a0365a65e32f5 (nextcloud:18.0.3-apache)
Tagging nextcloud:18.0.3-apache
Tagging nextcloud:18.0-apache
Tagging nextcloud:18-apache
Tagging nextcloud:apache
Tagging nextcloud:stable-apache
Tagging nextcloud:18.0.3
Tagging nextcloud:18.0
Tagging nextcloud:18
Tagging nextcloud:latest
Tagging nextcloud:stable

$ test/run.sh nextcloud:18.0.3-apache
testing nextcloud:18.0.3-apache
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8].................passed
	'nextcloud-cli-postgres' [6/8]...................passed
	'nextcloud-cli-sqlite' [7/8].....passed
	'nextcloud-apache-run' [8/8]....passed


$ bashbrew build nextcloud:18.0.3-fpm-alpine
Building bashbrew/cache:b84bf58de381e09fc630e73eaa6d3048017cae7aeefde5f19849d4a366252155 (nextcloud:18.0.3-fpm-alpine)
Tagging nextcloud:18.0.3-fpm-alpine
Tagging nextcloud:18.0-fpm-alpine
Tagging nextcloud:18-fpm-alpine
Tagging nextcloud:fpm-alpine
Tagging nextcloud:stable-fpm-alpine

$ test/run.sh nextcloud:18.0.3-fpm-alpine
testing nextcloud:18.0.3-fpm-alpine
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8].................passed
	'nextcloud-cli-postgres' [6/8].....................passed
	'nextcloud-cli-sqlite' [7/8].....passed
	'nextcloud-fpm-run' [8/8]...passed


$ bashbrew build nextcloud:18.0.3-fpm
Building bashbrew/cache:32ece25c2492cba426dfdd95376f69e3a49fbb46b4a738374fdbef914679d238 (nextcloud:18.0.3-fpm)
Tagging nextcloud:18.0.3-fpm
Tagging nextcloud:18.0-fpm
Tagging nextcloud:18-fpm
Tagging nextcloud:fpm
Tagging nextcloud:stable-fpm

$ test/run.sh nextcloud:18.0.3-fpm
testing nextcloud:18.0.3-fpm
	'utc' [1/8]...passed
	'cve-2014--shellshock' [2/8]...passed
	'no-hard-coded-passwords' [3/8]...passed
	'override-cmd' [4/8]...passed
	'nextcloud-cli-mysql' [5/8].................passed
	'nextcloud-cli-postgres' [6/8]....................passed
	'nextcloud-cli-sqlite' [7/8].....passed
	'nextcloud-fpm-run' [8/8]...passed

The following images failed at least one test:

  • nextcloud:
    • nextcloud:17.0.5-fpm-alpine

@yosifkit yosifkit merged commit 0d68c86 into docker-library:master Mar 24, 2020
@tilosp-bot tilosp-bot deleted the bot/nextcloud branch March 24, 2020 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants