From 3486677307412dfbe5ed6ed26378d4a6c0d030b8 Mon Sep 17 00:00:00 2001 From: imagidan-ets Date: Wed, 7 Feb 2024 17:59:37 -0500 Subject: [PATCH] new dockerfile --- .devcontainer/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index edac7ca..75f2c23 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM dronolab/simulation:latest +FROM ghcr.io/dronolab/simulation:latest # Add vscode user with same UID and GID as your host system # (copied from https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user#_creating-a-nonroot-user) @@ -9,10 +9,8 @@ ARG USER_GID=$USER_UID WORKDIR /workspace/$USERNAME RUN groupadd --gid $USER_GID $USERNAME \ - && groupadd -g 107 input \ && useradd -s /bin/bash --uid $USER_UID -g $USER_GID -G 107 -m $USERNAME \ && apt-get update \ - && apt-get install -y sudo \ && echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \ && chmod 0440 /etc/sudoers.d/$USERNAME @@ -36,4 +34,4 @@ RUN rosdep update RUN rosdep install --from-paths src --ignore-src --rosdistro humble -y # Source the ROS setup file -RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc +RUN echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc