Skip to content

Commit

Permalink
fix: correct user (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
domire8 committed May 1, 2024
1 parent ea24415 commit 63c11d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ros2_ws/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
python3-typeguard \
&& rm -rf /var/lib/apt/lists/*

# build as ROS user
USER ${USER}
WORKDIR ${ROS2_WORKSPACE}/src

RUN git clone -b 3.18.0 --depth 1 https://github.com/ros-controls/ros2_control.git
Expand Down Expand Up @@ -138,6 +140,7 @@ COPY --from=ros2-control / /

# start as ROS user
USER ${USER}
WORKDIR ${ROS2_WORKSPACE}

# Metadata
ARG VERSION
Expand Down
2 changes: 1 addition & 1 deletion ros2_ws/VERSION.iron
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
2 changes: 1 addition & 1 deletion ros2_ws/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

IMAGE_NAME=gchr.io/aica-technology/ros2-ws
IMAGE_NAME=ghcr.io/aica-technology/ros2-ws
BASE_TAG=iron

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
Expand Down

0 comments on commit 63c11d0

Please sign in to comment.