Skip to content

Instantly share code, notes, and snippets.

@sujaypillai
Created January 2, 2019 14:19
Show Gist options
  • Save sujaypillai/74d15e0d690a265a1b705cf3b26c6082 to your computer and use it in GitHub Desktop.
Save sujaypillai/74d15e0d690a265a1b705cf3b26c6082 to your computer and use it in GitHub Desktop.
FROM alpine
ARG TARGETPLATFORM
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
ARG BUILDPLATFORM
ARG BUILDOS
ARG BUILDARCH
ARG BUILDVARIANT
RUN echo "Image target platform details :: "
RUN echo "TARGETPLATFORM : $TARGETPLATFORM"
RUN echo "TARGETOS : $TARGETOS"
RUN echo "TARGETARCH : $TARGETARCH"
RUN echo "TARGETVARIANT : $TARGETVARIANT"
RUN echo "Image build platform details :: "
RUN echo "BUILDPLATFORM : $BUILDPLATFORM"
RUN echo "BUILDOS : $BUILDOS"
RUN echo "BUILDARCH : $BUILDARCH"
RUN echo "BUILDVARIANT : $BUILDVARIANT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment