Skip to content

Commit

Permalink
🐋 update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezenders committed Aug 21, 2024
1 parent a443be6 commit 8d63966
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ghcr.io/kas-lab/suave:main
# FROM suave:dev

RUN sudo apt update \
&& sudo apt install -y \
Expand All @@ -18,7 +19,9 @@ COPY --chown=kasm-user:kasm-user suave_rosa_plansys/ $HOME/suave_ws/src/suave_ro
COPY --chown=kasm-user:kasm-user suave_rosa.rosinstall $HOME/suave_ws/src/suave_rosa/suave_rosa.rosinstall

WORKDIR $HOME/suave_ws
RUN --mount=type=ssh,uid=1000 vcs import src < src/suave_rosa/suave_rosa.rosinstall --force
RUN wget https://github.com/kas-lab/suave/blob/main/suave.rosinstall
RUN vcs import src < suave.rosinstall
RUN vcs import src < src/suave_rosa/suave_rosa.rosinstall --force


RUN ["/bin/bash", "-c", "source /opt/ros/humble/setup.bash \
Expand All @@ -35,6 +38,6 @@ RUN sudo apt autoremove -y && sudo rm -rf /var/lib/apt/lists/

COPY --chown=kasm-user:kasm-user ./runner/ $HOME/suave_ws/src/suave/runner/
RUN chmod +x $HOME/suave_ws/src/suave/runner/rosa_runner.sh
RUN chmod +x $HOME/suave_ws/src/suave/runner/rosa_conf_results_run.sh
RUN chmod +x $HOME/suave_ws/src/suave/runner/rosa_paper_results_run.sh
RUN chmod +x $HOME/suave_ws/src/suave/runner/scripts/launch_mission.sh
WORKDIR $HOME/suave_ws/src/suave/runner
4 changes: 2 additions & 2 deletions docker/install_typedb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ echo "deb https://repo.typedb.com/public/public-release/deb/ubuntu trusty main"

sudo apt update
sudo apt install openjdk-11-jre
sudo apt install typedb=2.27.0
pip3 install typedb-driver==2.27.0
sudo apt install typedb
pip3 install typedb-driver

0 comments on commit 8d63966

Please sign in to comment.