Skip to content

Commit

Permalink
Small change on LABEL and ARG in Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
barthel committed Sep 24, 2024
1 parent 6051f97 commit 0e8c7a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ git \
# =========================================

FROM asciidoctor/docker-asciidoctor:${ASCIIDOCTOR_BASE_TAG} AS asciidoctor-builder
ARG TARGETARCH
ARG CONTAINER_INFORMATION
LABEL MAINTAINERS="barthel <barthel@users.noreply.github.com>"
LABEL maintainers="barthel <barthel@users.noreply.github.com>"
LABEL CONTAINER_INFORMATION="${CONTAINER_INFORMATION}"

ENV CONTAINER_INFORMATION="${CONTAINER_INFORMATION}"
ARG TARGETARCH
ENV CONTAINER_INFORMATION="${CONTAINER_INFORMATION} - (${TARGETARCH})"
# Print the architecture
RUN echo "Building for architecture: ${TARGETARCH}"

Expand Down

0 comments on commit 0e8c7a3

Please sign in to comment.