Skip to content

Commit

Permalink
refine docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed May 27, 2016
1 parent aa5e7b2 commit f7ac079
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/apache2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ RUN export LANGUAGE=en_US.UTF-8 && \
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
dpkg-reconfigure locales && \
apt-get update && \
apt-get -y upgrade

RUN apt-get install -y openssh-server apache2 supervisor libapache2-mod-wsgi python-flask python-psycopg2
apt-get -y upgrade && \
apt-get install -y openssh-server apache2 supervisor libapache2-mod-wsgi python-flask python-psycopg2 phppgadmin

RUN mkdir -p /var/lock/apache2 /var/run/apache2 /var/run/sshd /var/log/supervisor

Expand Down
6 changes: 6 additions & 0 deletions docker/apache2/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
#
# Build apache2 Docker image with options

sudo docker build -t geonovum/apache2 .

5 changes: 5 additions & 0 deletions docker/geoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,8 @@ RUN if [ "$TOMCAT_EXTRAS" = false ]; then \

# Delete resources after installation
RUN rm -rf /tmp/resources

# set time right
# Configure timezone and locale
RUN echo "Europe/Amsterdam" > /etc/timezone && \
dpkg-reconfigure -f noninteractive tzdata
3 changes: 3 additions & 0 deletions docker/postgis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
FROM ubuntu:14.04

# TODO for now kartoza/postgis:9.4-2.1 fulfills all needs
# Configure timezone and locale
RUN echo "Europe/Amsterdam" > /etc/timezone && \
dpkg-reconfigure -f noninteractive tzdata
4 changes: 4 additions & 0 deletions docker/stetl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ FROM ubuntu:14.04

MAINTAINER just@justobjects.nl

# Configure timezone and locale
RUN echo "Europe/Amsterdam" > /etc/timezone && \
dpkg-reconfigure -f noninteractive tzdata

# Use local cached debs from host (saves your bandwidth!)
# Change ip below to that of your apt-cacher-ng host
# Or comment this line out if you do not with to use caching
Expand Down

0 comments on commit f7ac079

Please sign in to comment.