Skip to content

Commit

Permalink
use fog-ros-sdk:sha-b1c429f
Browse files Browse the repository at this point in the history
  • Loading branch information
jnippula committed Aug 24, 2023
1 parent b35a996 commit 6bc4424
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Given dynamically from CI job.
FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/tiiuae/fog-ros-sdk:sha-f8defd3-${TARGETARCH:-amd64} AS builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/tiiuae/fog-ros-sdk:sha-b1c429f-${TARGETARCH:-amd64} AS builder

# Must be defined another time after "FROM" keyword.
ARG TARGETARCH
Expand All @@ -14,7 +14,7 @@ RUN /packaging/build_colcon_sdk.sh ${TARGETARCH:-amd64}
# Even though it is possible to tar the install directory for retrieving it later in runtime image,
# the tar extraction in arm64 emulated on arm64 is still slow. So, we copy the install directory instead

FROM ghcr.io/tiiuae/fog-ros-baseimage:sha-71b9710
FROM ghcr.io/tiiuae/fog-ros-baseimage:feat-multiarch-pkcs11

HEALTHCHECK --interval=5s \
CMD fog-health check --metric=rplidar_scan_count --diff-gte=1.0 \
Expand All @@ -25,6 +25,11 @@ HEALTHCHECK --interval=5s \
# DRONE_AIRFRAME is by default "t-drone". However, it can be set to "holybro"
ENTRYPOINT [ "/entrypoint.sh" ]

RUN apt update \
&& apt install -y --no-install-recommends \
gz-transport12 \
&& rm -rf /var/lib/apt/lists/*

COPY entrypoint.sh /entrypoint.sh

# WORKSPACE_DIR environment variable is defined in the fog-ros-baseimage.
Expand Down

0 comments on commit 6bc4424

Please sign in to comment.