Use the $BUILD_FROM Variable for multi-arch support #16

Closed
opened 2023-08-11 14:12:18 +02:00 by leon · 7 comments
leon commented 2023-08-11 14:12:18 +02:00 (Migrated from git.leon.wtf)

Might not be as trivial as changing the last build stage to the recommended multi-arch image as the golang build stage must also be adjusted to build for the correct arch (maybe extractable from the $BUILD_FROM arg or a dedicated envvar?).

Also, this would require multiple builds in Gitlab resulting in more space consumption!

Might not be as trivial as changing the last build stage to the recommended multi-arch image as the golang build stage must also be adjusted to build for the correct arch (maybe extractable from the $BUILD_FROM arg or a dedicated envvar?). Also, this would require multiple builds in Gitlab resulting in more space consumption!
leon commented 2023-08-13 16:04:22 +02:00 (Migrated from git.leon.wtf)

changed the description

changed the description
leon commented 2023-10-02 08:48:38 +02:00 (Migrated from git.leon.wtf)

We need arm support for Home Assistant Instances running on Raspberry Pi!

We need arm support for Home Assistant Instances running on Raspberry Pi!
leon commented 2023-10-02 08:48:50 +02:00 (Migrated from git.leon.wtf)

assigned to @leon

assigned to @leon
leon commented 2023-10-03 19:57:47 +02:00 (Migrated from git.leon.wtf)

created branch 16-multiarch-support to address this issue

created branch [`16-multiarch-support`](/leon/one-time-service/-/compare/main...16-multiarch-support) to address this issue
leon commented 2023-10-03 19:57:54 +02:00 (Migrated from git.leon.wtf)

mentioned in merge request !3

mentioned in merge request !3
leon commented 2023-10-04 18:46:58 +02:00 (Migrated from git.leon.wtf)

Well I will just use docker buildx to create multistage builds myself :D

Well I will just use docker buildx to create multistage builds myself :D
leon commented 2023-10-04 18:53:40 +02:00 (Migrated from git.leon.wtf)

mentioned in commit 80b05b26cf

mentioned in commit 80b05b26cf4f21a6727a984776a9ab41e2759678
leon (Migrated from git.leon.wtf) closed this issue 2023-10-04 18:53:40 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leon/one-time-service#16
No description provided.