Skip to content
Snippets Groups Projects
Commit 88567fad authored by Tim Kreuzer's avatar Tim Kreuzer
Browse files

next try

parent c400d2fb
No related branches found
No related tags found
No related merge requests found
Pipeline #96424 passed
......@@ -7,6 +7,9 @@ ENV USERNAME=jovyan
# create the app user
RUN adduser --uid 1000 --ingroup users --gecos "" --disabled-password ${USERNAME}
ENV HOME=/home/${USERNAME}
RUN mkdir -p ${HOME}
RUN apt update && \
apt -y upgrade && \
apt clean && \
......@@ -24,4 +27,12 @@ RUN apt update && \
rm /tmp/requirements_pip.txt && \
rm /tmp/requirements_apt.txt
RUN echo ${USERNAME}:$(uuidgen) | chpasswd
COPY entrypoint.sh ${HOME}/entrypoint.sh
RUN chown -R ${USERNAME}:users ${HOME}
USER jovyan
ENTRYPOINT ["/home/jovyan/entrypoint.sh"]
#!/bin/bash
while true; do sleep 30; done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment