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