Skip to content

Commit

Permalink
🐛 fix(build): Specify platform for containers not working on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
hoermannpaul committed Jun 21, 2024
1 parent 6712650 commit 60b5a57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/envoy-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM envoyproxy/envoy:v1.23.0
FROM --platform=linux/amd64 envoyproxy/envoy:v1.23.0

RUN apt-get update && \
apt-get install -y curl python3 python3-pip && \
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14.21.3-slim
FROM --platform=linux/amd64 node:14.21.3-slim

# Create app directory
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion src/user-simulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# based on snippet from https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
FROM node:14.20-slim AS base
FROM --platform=linux/amd64 node:14.20-slim AS base

# Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others)
# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer
Expand Down

0 comments on commit 60b5a57

Please sign in to comment.