Skip to content

Commit

Permalink
fix(build): copy library to /usr (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
domire8 authored Mar 21, 2024
1 parent 36ee3cf commit 1dfbc11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Release Versions:

## Upcoming changes (in development)

- fix(build): copy library to /usr (#71)
- build: copy python packages into /usr instead of ~ros2 to avoid permission issues (#69)
- feat: add is_opened flag to socket base class (#68)

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG ROS2_VERSION=humble
FROM ghcr.io/aica-technology/ros2-ws:humble as base
ARG ROS2_VERSION=iron
FROM ghcr.io/aica-technology/ros2-ws:${ROS2_VERSION} as base
USER ${USER}

FROM base as apt-dependencies
Expand Down Expand Up @@ -128,6 +128,6 @@ RUN mv /tmp/python/local /tmp/python-usr

FROM scratch as production
COPY --from=apt-dependencies /tmp/apt /
COPY --from=install /tmp/communication-interfaces /usr/local
COPY --from=install /tmp/communication-interfaces /usr
COPY --from=python /tmp/python-usr /usr
COPY --from=python-stubs /tmp/python-usr /usr
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
IMAGE_NAME=ghcr.io/aica-technology/network-interfaces
IMAGE_TAG=latest

ROS2_VERSION=humble
ROS2_VERSION=iron

HELP_MESSAGE="Usage: build.sh [options]
Options:
Expand Down

0 comments on commit 1dfbc11

Please sign in to comment.