You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2022/07/13 08:39:32 UTC

[jspwiki] branch master updated: add apt update && apt upgrade before apt install

This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git


The following commit(s) were added to refs/heads/master by this push:
     new 3bc4853e9 add apt update && apt upgrade before apt install
3bc4853e9 is described below

commit 3bc4853e960491663ec86b71a872c3251de5f291
Author: Juan Pablo Santos Rodríguez <ju...@gmail.com>
AuthorDate: Wed Jul 13 10:39:28 2022 +0200

    add apt update && apt upgrade before apt install
    
    in order to be able to locate unzip package and avoid build errors on hub.docker.com (this wasn't happening before, so maybe something has changed on base image? weird)
---
 Dockerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index b6accc084..777e4a399 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -49,6 +49,8 @@ ENV jspwiki_xmlGroupDatabaseFile /var/jspwiki/etc/groupdatabase.xml
 
 RUN set -x \
  && export DEBIAN_FRONTEND=noninteractive \
+ && apt update \
+ && apt upgrade \
  && apt install --fix-missing --quiet --yes unzip
 
 #