Skip to content

Commit

Permalink
fixed dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ahughesuol committed Aug 6, 2024
1 parent f05eee5 commit c43041d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CMP2020 Artificial Intelligence/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ FROM ubuntu:latest

RUN apt upgrade && apt update

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

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 &&\
tar -xvzf fast-downward-23.06.tar.gz &&\
cd fast-downward-23.06 &&\
./build.py

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

0 comments on commit c43041d

Please sign in to comment.