Skip to content

Commit 2d3bb93

Browse files
committed
fix: Add TARGETARCH argument to Dockerfile
1 parent 8f30bd4 commit 2d3bb93

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

cartographer_ws/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM arm64v8/ros:humble AS arm64
77
# It may be `arm64` or `amd64` depending on the platform.
88
# Ref: https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
99
FROM $TARGETARCH
10+
ARG TARGETARCH
1011

1112
LABEL org.opencontainers.image.authors="assume0701@gmail.com"
1213

husky_ws/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM arm64v8/ros:humble AS arm64
77
# It may be `arm64` or `amd64` depending on the platform.
88
# Ref: https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
99
FROM $TARGETARCH
10+
ARG TARGETARCH
1011

1112
LABEL org.opencontainers.image.authors="yuzhong1214@gmail.com"
1213

kobuki_ws/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM arm64v8/ros:humble AS arm64
77
# It may be `arm64` or `amd64` depending on the platform.
88
# Ref: https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
99
FROM $TARGETARCH
10+
ARG TARGETARCH
1011

1112
LABEL org.opencontainers.image.authors="yuzhong1214@gmail.com"
1213

orbslam3_ws/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM arm64v8/ros:humble AS arm64
77
# It may be `arm64` or `amd64` depending on the platform.
88
# Ref: https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
99
FROM $TARGETARCH
10+
ARG TARGETARCH
1011

1112
LABEL org.opencontainers.image.authors="assume0701@gmail.com"
1213

rtabmap_ws/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM introlab3it/rtabmap:jammy AS arm64
77
# It may be `arm64` or `amd64` depending on the platform.
88
# Ref: https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
99
FROM $TARGETARCH
10+
ARG TARGETARCH
1011

1112
LABEL org.opencontainers.image.authors="assume0701@gmail.com"
1213

template_ws/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM arm64v8/ros:humble AS arm64
77
# It may be `arm64` or `amd64` depending on the platform.
88
# Ref: https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
99
FROM $TARGETARCH
10+
ARG TARGETARCH
1011

1112
# Arguments for the default user
1213
ARG USERNAME=user

tests/diff_base/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM PLACEHOLDER AS arm64
77
# It may be `arm64` or `amd64` depending on the platform.
88
# Ref: https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
99
FROM $TARGETARCH
10+
ARG TARGETARCH
1011
MULTILINE_PLACEHOLDER
1112
# Arguments for the default user
1213
ARG USERNAME=user

vlp_ws/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM arm64v8/ros:humble AS arm64
77
# It may be `arm64` or `amd64` depending on the platform.
88
# Ref: https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
99
FROM $TARGETARCH
10+
ARG TARGETARCH
1011

1112
LABEL org.opencontainers.image.authors="assume0701@gmail.com"
1213

0 commit comments

Comments
 (0)