Skip to content

Commit

Permalink
Merge pull request #15 from BD2KGenomics/feature/update-redwood
Browse files Browse the repository at this point in the history
Bumping Redwood version, Using env var instead of hack
  • Loading branch information
caaespin authored May 24, 2017
2 parents 6f6cd64 + 604824d commit bb3dfee
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
FROM quay.io/ucsc_cgl/redwood-client:1.1.1
FROM quay.io/ucsc_cgl/redwood-client:1.2.0

MAINTAINER Walt Shands jshands@ucsc.edu

#patch logback.xml so the storage client writes its log files to /tmp because other
#directories are readonly when cwltool runs the container
RUN sed -i 's~<property name=\"log.dir\" value=\"${logging.path:-/tmp/icgc-storage-client/logs}\" />~<property name=\"log.dir\" value=\"/tmp/icgc-storage-client/logs\" />~g' /dcc/icgc-storage-client/conf/logback.xml

RUN sed -i 's~<property name=\"log.dir\" value=\"${LOG_PATH:-../logs}\" />~<property name=\"log.dir\" value=\"/tmp/dcc-metadata-client/logs\" />~g' /dcc/dcc-metadata-client/conf/logback.xml

#Set the log directory for redwood to be under /tmp since the rest of the file system is locked
ENV REDWOOD_LOG_DIR /tmp

WORKDIR ./

Expand Down

0 comments on commit bb3dfee

Please sign in to comment.