This brings over the initial buildx prototype from pulumi/pulumi-docker and fixes various build and release issues.
8 lines
190 B
Docker
8 lines
190 B
Docker
FROM --platform=$BUILDPLATFORM alpine as build
|
|
RUN echo ${BUILDPLATFORM} > buildplatform
|
|
RUN echo ${TARGETPLATFORM} > targetplatform
|
|
|
|
FROM build
|
|
RUN cat buildplatform
|
|
RUN cat targetplatform
|