diff --git a/Dockerfile b/Dockerfile index d5d67eddc192460a73e2299d475839d3f4d38513..5f9fdb3510d1c15925c3122c778c873aa4a7db4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,5 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # install doxec -RUN git clone https://srv.sauerburger.com/esel/doxec.git && cd doxec && git checkout v0.1.1 && python3 setup.py install - +RUN git clone https://srv.sauerburger.com/esel/doxec.git && cd doxec && git checkout b0ce804f && python3 setup.py install +RUN echo "" | adduser --disabled-password student diff --git a/README.md b/README.md index a0ebe3f02458a4cd1982ec890e4cb4d629a8d994..cc194a0c8a3aa1df1378322a4fd02a9779c74d92 100644 --- a/README.md +++ b/README.md @@ -23,15 +23,8 @@ can run the following command line. ```bash sudo apt-get install python3 python3-pip -sudo pip3 install numpy scipy matplotlib +pip3 install --user numpy scipy matplotlib ``` - -This installs the most recent versions these three packages. If you install the -packages via ubuntus package manager, you will get older version. Ubuntu's -packages can hide the more up-to-date ones installed by pip3. My personal -recommandations is to always use pip and never install python packages via -ubuntus package manager if you want to use recent version of the packages. - <!-- Doxec in a docker container needs a slightly different command, please keep them in-sync. @@ -40,7 +33,8 @@ in-sync. ```bash $ apt-get update $ apt-get -y install python3 python3-pip -$ pip3 install numpy scipy matplotlib +$ su student +$ pip3 install --user numpy scipy matplotlib ``` -->