Skip to content

Commit

Permalink
Update Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Midren committed Nov 27, 2021
1 parent 7c69c41 commit effa548
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ ENV PATH="/home/developer/miniconda3/bin:${PATH}"
EXPOSE 8888
EXPOSE 22

RUN apt-get -y update && apt-get install -y ipython vim libgeos-dev git openssh-server sudo iproute2 python3-pip python3
RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/*
RUN apt-get -y update && apt-get install -y ipython vim libgeos-dev git openssh-server sudo iproute2 python3-pip python3 wget

RUN usermod -aG sudo developer
RUN echo "developer ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/username
Expand Down Expand Up @@ -52,6 +51,7 @@ RUN jupyter nbextension enable collapsible_headings/main
RUN jt -tf source -nf ptsans -nfs 10 -ofs 10 -fs 10 -tfs 10 #-t gruvboxd --vim

RUN conda install altair vega autopep8 seaborn pytorch pytorch-lightning statsmodels keras neptune-client
RUN conda install pip
RUN conda init bash

RUN mkdir /home/developer/ipynotebooks && \
Expand All @@ -66,7 +66,8 @@ RUN for deb in deb deb-src; do echo "$deb http://build.openmodelica.org/apt `lsb
wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add - && \
apt-key fingerprint && \
sudo apt update -y && \
sudo apt install -y openmodelica omlib-modelica-3.2.3
sudo apt install -y openmodelica omlib-modelica-3.2.3 && \
sudo apt clean -y && sudo rm -rf /var/lib/apt/lists/*

#RUN pip3 install ompython
RUN python3 -m pip install -U https://github.com/OpenModelica/OMPython/archive/master.zip
Expand Down

0 comments on commit effa548

Please sign in to comment.