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.
21 lines
335 B
Docker
21 lines
335 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
|
|
|
|
USER ${USER}
|
|
|
|
# USER INITIALIZATION
|
|
|
|
SHELL ["/bin/bash", "--login", "-i", "-c"]
|
|
WORKDIR /wd
|