Skip to content

Commit

Permalink
Dockerfile: install ssh client
Browse files Browse the repository at this point in the history
* SSH client is needed for  connecting to SLURM submit
  node. Connects #71
  • Loading branch information
Rokas Maciulaitis committed Oct 10, 2019
1 parent cd9e68e commit 7b3c1ef
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ RUN apt-get update && \


ARG COMPUTE_BACKENDS=kubernetes
#CERN HTCondor part taken from https://gitlab.cern.ch/batch-team/condorsubmit
RUN case $COMPUTE_BACKENDS in \
*"htcondorcern"*) \
# CERN HTCondor part taken from https://gitlab.cern.ch/batch-team/condorsubmit
RUN if echo "$COMPUTE_BACKENDS" | grep -q "htcondorcern"; then \
export DEBIAN_FRONTEND=noninteractive ;\
apt-get -yq install wget alien gnupg2 \
krb5-user \
Expand All @@ -32,9 +31,11 @@ RUN case $COMPUTE_BACKENDS in \
apt-get update; \
apt-get install -y condor --no-install-recommends; \
apt-get -y remove gnupg2 wget alien; \
;; \
*) \
esac
fi

RUN if echo "$COMPUTE_BACKENDS" | grep -q "slurmcern"; then \
apt-get install -y openssh-client; \
fi

ADD etc/cernsubmit.yaml /etc/condor/
ADD etc/10_cernsubmit.config /etc/condor/config.d/
Expand Down

0 comments on commit 7b3c1ef

Please sign in to comment.