Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
remove krb from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
GernotMaier committed Apr 28, 2022
1 parent ca74427 commit 3a4f452
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
4 changes: 1 addition & 3 deletions dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a4f452

Please sign in to comment.