Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Add dockerfile for another TDS container.
Browse files Browse the repository at this point in the history
This ones adds and unpacks config.zip when a container is built from
this image.
  • Loading branch information
dopplershift committed Oct 6, 2015
1 parent 2776bd3 commit 90d1392
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docker/tds-buildconfig/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM unidata/tds:v4.6.4-SNAPSHOT
MAINTAINER Sean Arms <sarms@ucar.edu>

ENV THREDDS_DIR=/usr/local/tomcat/content/thredds
USER root
RUN mkdir -p $THREDDS_DIR && chown -R tomcat:tomcat $THREDDS_DIR

#
# Copy over TDS config files and unzip
#

USER tomcat

ONBUILD COPY config.zip $THREDDS_DIR/config.zip
ONBUILD RUN unzip $THREDDS_DIR/config.zip -d $THREDDS_DIR

0 comments on commit 90d1392

Please sign in to comment.