GeoNode / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
79 stars 174 forks source link

Missing packages on Geoserver #339

Closed mattiagiupponi closed 2 years ago

mattiagiupponi commented 2 years ago

By running:

docker-compose up --build geoserver --force-recreate

Geoserver docker raise issues related to missing packages:

➜  geonode-project git:(3.3.x) ✗ docker-compose up --build geoserver --force-recreate
[+] Building 2.7s (6/31)                                                                                                                                                            
 => [internal] load build definition from Dockerfile                                                                                                                           0.0s
 => => transferring dockerfile: 4.50kB                                                                                                                                         0.0s
 => [internal] load .dockerignore                                                                                                                                              0.0s
 => => transferring context: 2B                                                                                                                                                0.0s
 => [internal] load metadata for docker.io/library/tomcat:9-jre8                                                                                                               2.2s
 => [internal] load build context                                                                                                                                              0.2s
 => => transferring context: 12.61kB                                                                                                                                           0.0s
 => CACHED [ 1/27] FROM docker.io/library/tomcat:9-jre8@sha256:69085468f924c4f85cc3d8099ecc8af0900f609db0de1033a01aa27fbe301d44                                                0.0s
 => ERROR [ 2/27] RUN cd /usr/local/tomcat/webapps     && wget --no-check-certificate --progress=bar:force:noscroll https://artifacts.geonode.org/geoserver/2.19.6/geoserver.  0.4s
------                                                                                                                                                                              
 > [ 2/27] RUN cd /usr/local/tomcat/webapps     && wget --no-check-certificate --progress=bar:force:noscroll https://artifacts.geonode.org/geoserver/2.19.6/geoserver.war -O geoserver.war     && unzip -q geoserver.war -d geoserver     && rm geoserver.war     && mkdir -p /geoserver_data/data:
#5 0.406 /bin/sh: 1: wget: not found
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c cd /usr/local/tomcat/webapps     && wget --no-check-certificate --progress=bar:force:noscroll https://artifacts.geonode.org/geoserver/${GEOSERVER_VERSION}/geoserver.war -O geoserver.war     && unzip -q geoserver.war -d geoserver     && rm geoserver.war     && mkdir -p $GEOSERVER_DATA_DIR]: exit code: 127