Skip to content

Commit c43041d

Browse files
committed
fixed dockerfile
1 parent f05eee5 commit c43041d

File tree

1 file changed

+4
-5
lines changed
  • CMP2020 Artificial Intelligence/.devcontainer

1 file changed

+4
-5
lines changed

CMP2020 Artificial Intelligence/.devcontainer/Dockerfile

+4-5
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ FROM ubuntu:latest
22

33
RUN apt upgrade && apt update
44

5-
RUN apt -y install python3 swi-prolog cmake curl build-essential git-all python3-venv
5+
RUN apt -y install python3 swi-prolog cmake curl build-essential git-all
66
RUN apt -y install python3-pip
77

88
RUN curl -d "action=AttachFile&do=get&target=fast-downward-23.06.tar.gz" -o fast-downward-23.06.tar.gz https://www.fast-downward.org/Releases/23.06 &&\
99
tar -xvzf fast-downward-23.06.tar.gz &&\
1010
cd fast-downward-23.06 &&\
1111
./build.py
1212

13-
RUN python3 -m venv .venv && source .venv/bin/activate && echo 'source .venv/bin/activate' >> ~/.bashrc
14-
RUN pip install mesa
15-
RUN pip install scikit-learn scipy matplotlib numpy seaborn
16-
RUN pip install ipykernel
13+
RUN pip install mesa --break-system-packages
14+
RUN pip install scikit-learn scipy matplotlib numpy seaborn --break-system-packages
15+
RUN pip install ipykernel --break-system-packages

0 commit comments

Comments
 (0)