Created
January 2, 2019 14:19
-
-
Save sujaypillai/74d15e0d690a265a1b705cf3b26c6082 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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