You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
371 B
Docker
23 lines
371 B
Docker
FROM conda/miniconda3
|
|
|
|
ARG USER
|
|
ARG GROUP
|
|
ARG UID
|
|
ARG GID
|
|
|
|
RUN groupadd --gid ${GID} ${GROUP}
|
|
RUN useradd --shell /bin/bash --uid ${UID} --gid ${GID} --create-home ${USER}
|
|
RUN mkdir /wd
|
|
RUN chown ${USER}:${GROUP} /wd
|
|
|
|
# SYSTEM INITIALIZATION
|
|
# RUN pip install jupyter
|
|
|
|
USER ${USER}
|
|
|
|
# USER INITIALIZATION
|
|
# RUN ...
|
|
|
|
SHELL ["/bin/bash", "--login", "-i", "-c"]
|
|
WORKDIR /wd
|