forked from xdocker/xgeoserver

Tim Sutton
2014-10-13 8d08e3dabc0190badc08c3b8eaae06ae5e39aaf8
Fix typo in geoserver.zip filename
2 files modified
4 ■■■■ changed files
Dockerfile 2 ●●● patch | view | raw | blame | history
build.sh 2 ●●● patch | view | raw | blame | history
Dockerfile
@@ -23,7 +23,7 @@
# A little logic that will fetch the geoserver zip file if it
# is not available locally in the resources dir and
RUN if [ ! -f /tmp/resources/geoserver/zip ]; then \
RUN if [ ! -f /tmp/resources/geoserver.zip ]; then \
    wget -c http://downloads.sourceforge.net/project/geoserver/GeoServer/2.5.2/geoserver-2.5.2-bin.zip -O /tmpresources/geoserver.zip; \
    fi; \
    unzip /tmp/resources/geoserver.zip -d /opt && mv -v /opt/geoserver* /opt/geoserver
build.sh
@@ -2,6 +2,6 @@
if [ ! -f resources/geoserver.zip ]
then
    wget -c http://downloads.sourceforge.net/project/geoserver/GeoServer/2.5.1/geoserver-2.5.1-bin.zip -O resources/geoserver.zip
    wget -c http://downloads.sourceforge.net/project/geoserver/GeoServer/2.5.2/geoserver-2.5.2-bin.zip -O resources/geoserver.zip
fi
docker build -t kartoza/geoserver .