Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker container without root #45

Open
qiyubio opened this issue Nov 8, 2022 · 2 comments
Open

docker container without root #45

qiyubio opened this issue Nov 8, 2022 · 2 comments

Comments

@qiyubio
Copy link

qiyubio commented Nov 8, 2022

Hi, the docker image is useful although can't be used by users without root on HPC. I will suggest to change the location of miniconda to non-root directory in docker such as /opt/conda.

@qiyubio
Copy link
Author

qiyubio commented Nov 8, 2022

Here is the template for Dockerfile, it works while I build with docker and then convert to singularity image, you are welcome to test the docker image too:

From continuumio/miniconda3

ARG DEBIAN_FRONTEND=noninteractive
ENV PATH="/opt/conda/bin:${PATH}"
ARG PATH="/opt/conda/bin:${PATH}"

ENV TZ=Europe/Berlin
RUN conda config --add channels conda-forge
RUN conda config --add channels bioconda
RUN conda install -c till_sauerwein reademption -y

WORKDIR /opt/

@Tillsa
Copy link
Collaborator

Tillsa commented Oct 10, 2023

Thank you for your making us aware of this issue. I'll double check your solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants