From 6a16dfd66248defa96cf626216eada1265120885 Mon Sep 17 00:00:00 2001 From: David McFadzean Date: Thu, 14 Nov 2024 15:43:17 -0500 Subject: [PATCH] fix: Specify platform for docker on mac (#414) --- Dockerfile.gatekeeper | 2 +- Dockerfile.hyperswarm | 2 +- Dockerfile.ipfs | 2 +- Dockerfile.keymaster | 2 +- Dockerfile.satoshi | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile.gatekeeper b/Dockerfile.gatekeeper index ebad8829..693aaff5 100644 --- a/Dockerfile.gatekeeper +++ b/Dockerfile.gatekeeper @@ -1,5 +1,5 @@ # Use the official Node.js as the base image -FROM node:18.18.2 +FROM --platform=linux/amd64 node:18.18.2 # Set the working directory WORKDIR /app diff --git a/Dockerfile.hyperswarm b/Dockerfile.hyperswarm index 65a428bf..e91a6e32 100644 --- a/Dockerfile.hyperswarm +++ b/Dockerfile.hyperswarm @@ -1,5 +1,5 @@ # Use the official Node.js as the base image -FROM node:18.18.2 +FROM --platform=linux/amd64 node:18.18.2 # Set the working directory WORKDIR /app diff --git a/Dockerfile.ipfs b/Dockerfile.ipfs index 4ccc6502..645680d8 100644 --- a/Dockerfile.ipfs +++ b/Dockerfile.ipfs @@ -1,5 +1,5 @@ # Use the official Node.js as the base image -FROM node:18.18.2 +FROM --platform=linux/amd64 node:18.18.2 # Set the working directory WORKDIR /app diff --git a/Dockerfile.keymaster b/Dockerfile.keymaster index f06b5a45..da467e24 100644 --- a/Dockerfile.keymaster +++ b/Dockerfile.keymaster @@ -1,5 +1,5 @@ # Use the official Node.js as the base image -FROM node:18.18.2 +FROM --platform=linux/amd64 node:18.18.2 # Set the working directory WORKDIR /app diff --git a/Dockerfile.satoshi b/Dockerfile.satoshi index 53eb5170..cc6bb4c9 100644 --- a/Dockerfile.satoshi +++ b/Dockerfile.satoshi @@ -1,5 +1,5 @@ # Use the official Node.js as the base image -FROM node:18.18.2 +FROM --platform=linux/amd64 node:18.18.2 # Set the working directory WORKDIR /app