Skip to content

Commit a195bf6

Browse files
committed
Dockerfile updated for newest versions.
Signed-off-by: Piotr Jaroszek <piotr.jaroszek@robotec.ai>
1 parent bfea7dd commit a195bf6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ RUN apt update && apt install -y curl wget git
88
RUN curl -s https://packagecloud.io/install/repositories/dirk-thomas/vcstool/script.deb.sh | sudo bash
99
RUN apt update && apt install -y python3-vcstool
1010

11-
RUN wget https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
12-
RUN dpkg -i packages-microsoft-prod.deb
13-
RUN apt update && apt install -y apt-transport-https patchelf; if [ "$(lsb_release -rs)" = "22.04" ] ; then apt install -y dotnet-sdk-6.0 ; else apt install -y dotnet-sdk-3.1; fi
11+
RUN apt update && apt install -y apt-transport-https patchelf dotnet-sdk-6.0
1412
RUN apt update && apt install -y ffmpeg libsm6 libxext6 libgtk-3-0
1513

1614
ADD entrypoint.sh /entrypoint.sh

docker/entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ shopt -s dotglob
1515
mkdir -p /workdir/ros2-for-unity
1616
mv /workdir/.ros2-for-unity/* /workdir/ros2-for-unity
1717
cd /workdir/ros2-for-unity/ && ./pull_repositories.sh
18+
mkdir -p /home/$(whoami)
19+
git config --global --add safe.directory /workdir/ros2-for-unity
1820
shopt -u dotglob
1921

2022
ln -s /workdir/custom_messages /workdir/ros2-for-unity/src/ros2cs/src/custom_messages

0 commit comments

Comments
 (0)