Skip to content
Discussion options

You must be logged in to vote

This is same problem #22445.
You have to wait for Rosetta support to be released.

% podman machine inspect --format {{.Rosetta}}
true
% podman build -t test:1 --platform=linux/amd64 --no-cache .
STEP 1/7: FROM node:18.17.1-buster
STEP 2/7: USER root
--> 98c42224f885
STEP 3/7: RUN mkdir -p /home/node/app
--> 6000290ecb80
STEP 4/7: WORKDIR /home/node/app
--> 7c23ec6052de
STEP 5/7: COPY test.js test.js
--> 90c57a525f82
STEP 6/7: RUN ls -lZ
total 4
-rw-r--r--. 1 root root system_u:object_r:container_file_t:s0:c78,c652 409 Apr 23 20:02 test.js
--> bbf0f1804b20
STEP 7/7: RUN node test.js
------------------------ STEP 1
------------------------ STEP 2
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michaelsantosus
Comment options

Answer selected by michaelsantosus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants