From 29e310fc1d72386552c120a07a912f050eae4076 Mon Sep 17 00:00:00 2001 From: Daniele Salatti Date: Sun, 8 May 2022 19:45:52 -0400 Subject: [PATCH 1/2] Fix: make build for Apple Silicon I had the same issue as #2429, adding `eudev-dev` and `build-base` fixes it. --- ops/docker/Dockerfile.packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/docker/Dockerfile.packages b/ops/docker/Dockerfile.packages index 80e924161ad98..5ba90ebfcbd49 100644 --- a/ops/docker/Dockerfile.packages +++ b/ops/docker/Dockerfile.packages @@ -4,7 +4,7 @@ # ### BASE: Install deps FROM node:16-alpine3.14 as base -RUN apk --no-cache add curl jq python3 ca-certificates git make gcc musl-dev linux-headers bash +RUN apk --no-cache add curl jq python3 ca-certificates git make gcc musl-dev linux-headers bash eudev-dev build-base # copy over the needed configs to run the dep installation # note: this approach can be a bit unhandy to maintain, but it allows From 436fbacbd7f4eed96def5e68f9e0f5d519b9a4f6 Mon Sep 17 00:00:00 2001 From: Daniele Salatti Date: Mon, 16 May 2022 23:52:05 -0400 Subject: [PATCH 2/2] Remove redundant eudev-dep from Dockerfile.packages --- ops/docker/Dockerfile.packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/docker/Dockerfile.packages b/ops/docker/Dockerfile.packages index 5ba90ebfcbd49..53aa503a4d692 100644 --- a/ops/docker/Dockerfile.packages +++ b/ops/docker/Dockerfile.packages @@ -4,7 +4,7 @@ # ### BASE: Install deps FROM node:16-alpine3.14 as base -RUN apk --no-cache add curl jq python3 ca-certificates git make gcc musl-dev linux-headers bash eudev-dev build-base +RUN apk --no-cache add curl jq python3 ca-certificates git make gcc musl-dev linux-headers bash build-base # copy over the needed configs to run the dep installation # note: this approach can be a bit unhandy to maintain, but it allows