Skip to content

Commit

Permalink
conda fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening committed May 30, 2017
1 parent 1a75fa5 commit 08f966b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions galaxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ GALAXY_CONDA_PREFIX=$GALAXY_CONFIG_TOOL_DEPENDENCY_DIR/_conda
ADD GalaxyDocker.png $GALAXY_CONFIG_DIR/web/welcome_image.png
ADD welcome.html $GALAXY_CONFIG_DIR/web/welcome.html

RUN ./scripts/common_startup.sh && \
# Install all required Node dependencies. This is required to get proxy support to work for Interactive Environments
cd $GALAXY_ROOT/lib/galaxy/web/proxy/js && \
npm install

# Switch back to User root
USER root

Expand All @@ -196,14 +201,11 @@ ADD ./setup_postgresql.py /usr/local/bin/setup_postgresql.py
RUN rm $PG_DATA_DIR_DEFAULT -rf && \
python /usr/local/bin/setup_postgresql.py --dbuser galaxy --dbpassword galaxy --db-name galaxy --dbpath $PG_DATA_DIR_DEFAULT && \
service postgresql start && \
bash ./scripts/common_startup.sh && \
. $GALAXY_VIRTUAL_ENV/bin/activate && \
sh create_db.sh -c "$GALAXY_CONFIG_FILE" && \
python ./scripts/manage_tool_dependencies.py -c "$GALAXY_CONFIG_FILE" init_if_needed && \
sh create_db.sh -c "$GALAXY_CONFIG_FILE" && \
python /usr/local/bin/create_galaxy_user.py --user $GALAXY_DEFAULT_ADMIN_USER --password $GALAXY_DEFAULT_ADMIN_PASSWORD -c $GALAXY_CONFIG_FILE --key $GALAXY_DEFAULT_ADMIN_KEY && \
service postgresql stop && \
cd $GALAXY_ROOT/lib/galaxy/web/proxy/js && \
npm install
service postgresql stop

# Activate additional Tool Sheds
# Activate the Test Tool Shed during runtime, useful for testing repositories.
Expand Down

0 comments on commit 08f966b

Please sign in to comment.