From 3a4f4526378275b26845942f3571cb0e94667a4e Mon Sep 17 00:00:00 2001 From: Gernot Maier Date: Thu, 28 Apr 2022 14:54:16 +0200 Subject: [PATCH] remove krb from Dockerfile --- dev/Dockerfile | 6 ------ dev/README.md | 4 +--- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/dev/Dockerfile b/dev/Dockerfile index dc4d4d3..71a0f7c 100644 --- a/dev/Dockerfile +++ b/dev/Dockerfile @@ -49,12 +49,6 @@ RUN wget https://raw.githubusercontent.com/gammasim/gammasim-tools/master/enviro mamba env update --file environment.yml && \ conda clean -tipsy -# Make sure krb token is delegated -RUN mkdir ~/.ssh && \ - echo "GSSAPIDelegateCredentials yes" > ~/.ssh/config && \ - ssh-keyscan -H warp1.zeuthen.desy.de >> ~/.ssh/known_hosts - -ENV KRB5CCNAME="FILE:/tmp/token.krb" SHELL ["/bin/bash", "-c"] RUN source /root/.bashrc && \ diff --git a/dev/README.md b/dev/README.md index cdfaa99..b001958 100644 --- a/dev/README.md +++ b/dev/README.md @@ -60,11 +60,9 @@ Building will take a while and the image is large (3.9 GB; mostly due to the >2 To run the container in bash ``` -$ docker run --rm -it -v "$(pwd)/external:/workdir/external" -v "/tmp/token.krb:/tmp/token.krb" gammasim-tools-dev bash +$ docker run --rm -it -v "$(pwd)/external:/workdir/external" gammasim-tools-dev bash ``` -Notice that we assume a kerberos token file "token.krb" is present in /tmp. This allows smooth connection to the DB. The docker does not fail if the token does not exist (this is a temporary solution.) - Any output will be written to the `$(pwd)/external` directory. ## Docker Hub