Commit f05eee5 1 parent 1e6f6fe commit f05eee5 Copy full SHA for f05eee5
File tree 1 file changed +5
-4
lines changed
CMP2020 Artificial Intelligence/.devcontainer
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,15 @@ FROM ubuntu:latest
2
2
3
3
RUN apt upgrade && apt update
4
4
5
- RUN apt -y install python3 swi-prolog cmake curl build-essential git-all
5
+ RUN apt -y install python3 swi-prolog cmake curl build-essential git-all python3-venv
6
6
RUN apt -y install python3-pip
7
7
8
8
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 &&\
9
9
tar -xvzf fast-downward-23.06.tar.gz &&\
10
10
cd fast-downward-23.06 &&\
11
11
./build.py
12
12
13
- RUN pip install --break-system-packages mesa
14
- RUN pip install --break-system-packages scikit-learn scipy matplotlib numpy seaborn
15
- RUN pip install --break-system-packages ipykernel
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
You can’t perform that action at this time.
0 commit comments