Skip to content

Commit dd6ad49

Browse files
committed
fix devcontainer startup
1 parent 0c79d74 commit dd6ad49

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM ros:${ROS_DISTRO}
33

44
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
55
ENV DEBIAN_FRONTEND=noninteractive
6+
ENV PATH="/root/.local/bin:${PATH}"
67

78
RUN apt-get update && apt-get install -y --no-install-recommends \
89
build-essential \

.devcontainer/devcontainer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"workspaceMount": "source=${localWorkspaceFolder},target=/ws/src/mavros,type=bind",
1212
"remoteUser": "root",
1313
"containerEnv": {
14-
"ROS_DISTRO": "kilted",
15-
"PATH": "/root/.local/bin:${containerEnv:PATH}"
14+
"ROS_DISTRO": "kilted"
1615
},
1716
"runArgs": [
1817
"-p",
@@ -35,4 +34,4 @@
3534
]
3635
}
3736
}
38-
}
37+
}

.devcontainer/whole-workspace/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"workspaceMount": "source=${localWorkspaceFolder}/../..,target=/ws,type=bind",
1212
"remoteUser": "root",
1313
"containerEnv": {
14-
"ROS_DISTRO": "kilted",
15-
"PATH": "/root/.local/bin:${containerEnv:PATH}"
14+
"ROS_DISTRO": "kilted"
1615
},
1716
"runArgs": [
1817
"-p",

0 commit comments

Comments
 (0)