forked from xdocker/xgeoserver

Tim Sutton
2014-10-10 1af92f0eab57aa3dabf7607e7f7f12cb21f25d12
In progress implementation for geoserver docker
3 files deleted
5 files modified
104 ■■■■ changed files
.gitignore 3 ●●●● patch | view | raw | blame | history
71-apt-cacher-ng 7 ●●●● patch | view | raw | blame | history
Dockerfile 16 ●●●●● patch | view | raw | blame | history
README.md 4 ●●●● patch | view | raw | blame | history
build.sh 9 ●●●● patch | view | raw | blame | history
run_tilemill.sh 13 ●●●●● patch | view | raw | blame | history
setup_tilemill.rst 47 ●●●●● patch | view | raw | blame | history
tilemill.conf 5 ●●●●● patch | view | raw | blame | history
.gitignore
@@ -1 +1,2 @@
geoserver.zip
resources/geoserver.zip
.idea
71-apt-cacher-ng
@@ -1,5 +1,2 @@
#Acquire::http { Proxy "http://192.168.1.80:3142"; };
#Acquire::http { Proxy "http://192.168.0.104:3142"; };
#Acquire::http { Proxy "http://192.168.2.3:3142"; };
#Acquire::http { Proxy "http://192.168.1.13:3142"; };
Acquire::http { Proxy "http://192.168.0.13:3142"; };
Acquire::http { Proxy "http://192.168.2.9:3142"; };
#Acquire::http { Proxy "http://192.168.0.13:3142"; };
Dockerfile
@@ -1,5 +1,5 @@
#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------
FROM ubuntu:trusty
FROM consol/tomcat-8.0
MAINTAINER Tim Sutton<tim@linfiniti.com>
RUN  export DEBIAN_FRONTEND=noninteractive
@@ -18,11 +18,15 @@
#-------------Application Specific Stuff ----------------------------------------------------
RUN apt-get -y install unzip openjdk-7-jre-headless openjdk-7-jre
ADD geoserver.zip /tmp/geoserver.zip
# Next three lines pilfered from
# https://ge.dec.wa.gov.au/_/dockers/dpaw_docker/geoserver/Dockerfile
#RUN wget http://downloads.sourceforge.net/project/geoserver/GeoServer/2.4.1/geoserver-2.4.1-bin.zip -O /tmp/geoserver.zip
RUN unzip /tmp/geoserver.zip -d /opt && mv -v /opt/geoserver* /opt/geoserver
ADD resources /tmp/resources
# 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 \
    wget -c http://downloads.sourceforge.net/project/geoserver/GeoServer/2.5.1/geoserver-2.5.1-bin.zip -O /tmpresources/geoserver.zip; \
    fi; \
    unzip /tmp/resources/geoserver.zip -d /opt && mv -v /opt/geoserver* /opt/geoserver
ENV GEOSERVER_HOME /opt/geoserver
ENTRYPOINT "/opt/geoserver/bin/startup.sh"
README.md
@@ -1,5 +1,5 @@
docker-ssh
==========
Geoserver in Docker
===================
A simple docker container that runs tilemill (https://github.com/mapbox/tilemill).
build.sh
@@ -1,2 +1,7 @@
#wget -c http://downloads.sourceforge.net/project/geoserver/GeoServer/2.4.1/geoserver-2.4.1-bin.zip -O geoserver.zip
docker.io build -t kartoza/geoserver .
#!/bin/sh
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
fi
docker build -t kartoza/geoserver .
run_tilemill.sh
File was deleted
setup_tilemill.rst
File was deleted
tilemill.conf
File was deleted