From 4fd892cd1346b5c4b347e92aebddc18d4e0799b0 Mon Sep 17 00:00:00 2001 From: Anthony Bretaudeau Date: Fri, 26 Jan 2018 18:30:35 +0100 Subject: [PATCH] fix permission problem (fix #6) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 682cf46..897ca14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,8 @@ RUN perl Makefile.PL GMOD_ROOT=/usr/share/gmod/ DEFAULTS=1 RECONFIGURE=1 && \ make install && \ wget --quiet $SCHEMA_URL -O /chado.sql.gz && gunzip /chado.sql.gz && \ wget --quiet http://downloads.yeastgenome.org/curation/chromosomal_feature/saccharomyces_cerevisiae.gff && \ - sed -i s'/%20/ /g' saccharomyces_cerevisiae.gff + sed -i s'/%20/ /g' saccharomyces_cerevisiae.gff && \ + chown -R postgres:postgres /chado/chado/ COPY load_schema.sh /docker-entrypoint-initdb.d/00-load_schema.sh COPY load_yeast.sh /docker-entrypoint-initdb.d/01-load_yeast.sh