@@ -36,7 +36,7 @@ LABEL org.label-schema.vcs-url="https://github.com/space-ros/docker"
36
36
LABEL org.label-schema.vcs-ref=${VCS_REF}
37
37
38
38
# Define a few key variables
39
- ENV DEMO_DIR=${HOME_DIR }/demos_ws
39
+ ENV DEMO_DIR=${HOME }/demos_ws
40
40
ENV IGNITION_VERSION fortress
41
41
ENV GZ_VERSION fortress
42
42
@@ -84,21 +84,21 @@ RUN cd mongo-cxx-driver-r3.6.7/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCM
84
84
# Get the source for the dependencies
85
85
# RUN vcs import src < /tmp/demo_generated_pkgs.repos
86
86
COPY --chown=${USERNAME}:${USERNAME} demo_manual_pkgs.repos /tmp/
87
- RUN vcs import src < /tmp/demo_manual_pkgs.repos && /bin/bash -c 'source "${SPACEROS_DIR}/install/ setup.bash"'
87
+ RUN vcs import src < /tmp/demo_manual_pkgs.repos && /bin/bash -c 'source "${SPACEROS_DIR}/setup.bash"'
88
88
89
89
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
90
90
--mount=type=cache,target=/var/lib/apt,sharing=locked \
91
91
sudo apt-get update -y \
92
- && /bin/bash -c 'source "${SPACEROS_DIR}/install/ setup.bash"' \
92
+ && /bin/bash -c 'source "${SPACEROS_DIR}/setup.bash"' \
93
93
&& /bin/bash -c 'source "${MOVEIT2_DIR}/install/setup.bash"' \
94
94
&& rosdep install --from-paths src --ignore-src -r -y --rosdistro ${ROS_DISTRO}
95
95
96
96
# Build the demo
97
- RUN /bin/bash -c 'source ${SPACEROS_DIR}/install/ setup.bash && source ${MOVEIT2_DIR}/install/setup.bash \
97
+ RUN /bin/bash -c 'source ${SPACEROS_DIR}/setup.bash && source ${MOVEIT2_DIR}/install/setup.bash \
98
98
&& colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release'
99
99
100
100
# Add the user to the render group so that the user can access /dev/dri/renderD128
101
- RUN sudo usermod -aG render $USERNAME
101
+ # RUN sudo usermod -aG render ${ USERNAME}
102
102
103
103
# Setup the entrypoint
104
104
COPY ./entrypoint.sh /
0 commit comments