Skip to content

Commit

Permalink
Merge pull request #572 from gmauro/patch-1
Browse files Browse the repository at this point in the history
Update galaxy-server Dockerfile
  • Loading branch information
bgruening authored Nov 11, 2020
2 parents 0e087d2 + f1ec67f commit f9bff09
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions compose/galaxy-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ ARG IMAGE_TAG=latest

FROM buildpack-deps:18.04 as build_base

ARG GALAXY_RELEASE=release_20.05
ARG GALAXY_REPO=https://github.com/galaxyproject/galaxy

ENV EXPORT_DIR=/export \
GALAXY_ROOT=/galaxy \
HTCONDOR_ROOT=/opt/htcondor
Expand Down Expand Up @@ -52,6 +49,10 @@ RUN curl -s -L "https://repo.anaconda.com/miniconda/Miniconda2-${MINICONDA_VERSI
&& /usr/bin/common_cleanup.sh

FROM build_base as build_galaxy

ARG GALAXY_RELEASE=release_20.05
ARG GALAXY_REPO=https://github.com/galaxyproject/galaxy

COPY ./files/common_cleanup.sh /usr/bin/common_cleanup.sh
# Install Galaxy
RUN apt update && apt install --no-install-recommends libcurl4-openssl-dev libssl-dev python3-dev python3-pip -y \
Expand All @@ -72,6 +73,9 @@ RUN apt update && apt install --no-install-recommends libcurl4-openssl-dev libss
# --- Final image ---
FROM $DOCKER_REGISTRY/$DOCKER_REGISTRY_USERNAME/galaxy-cluster-base:$IMAGE_TAG as final

ARG GALAXY_RELEASE=release_20.05
ARG GALAXY_REPO=https://github.com/galaxyproject/galaxy

COPY ./files/common_cleanup.sh /usr/bin/common_cleanup.sh
COPY ./files/create_galaxy_user.py /usr/local/bin/create_galaxy_user.py

Expand All @@ -80,9 +84,7 @@ ENV EXPORT_DIR=/export \
GALAXY_PYTHON=/usr/bin/python3 \
HTCONDOR_ROOT=/opt/htcondor

ENV GALAXY_RELEASE=${GALAXY_RELEASE:-release_20.05} \
GALAXY_REPO=${GALAXY_REPO:-https://github.com/galaxyproject/galaxy} \
GALAXY_STATIC_DIR=$GALAXY_ROOT/static \
ENV GALAXY_STATIC_DIR=$GALAXY_ROOT/static \
GALAXY_EXPORT=$EXPORT_DIR/galaxy \
GALAXY_CONFIG_DIR=$GALAXY_ROOT/config \
GALAXY_CONFIG_TOOL_DEPENDENCY_DIR=/tool_deps \
Expand Down

0 comments on commit f9bff09

Please sign in to comment.