From 1bf52238311022f84a778afb4a4726f0674ed777 Mon Sep 17 00:00:00 2001 From: "A.J. Stein" Date: Tue, 8 Oct 2024 21:30:01 -0400 Subject: [PATCH] Capitalize FROM ... AS defs for image spec for #22 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a9f2ecb..bd3fb3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG BUILDER_IMAGE=maven:3.9.9-eclipse-temurin-17-alpine ARG RUNNER_IMAGE=eclipse-temurin:17-alpine -FROM ${BUILDER_IMAGE} as builder +FROM ${BUILDER_IMAGE} AS builder ARG BUILDER_JDK_VENDOR=temurin ARG BUILDER_JDK_MAJOR_VERSION=17 ARG BUILDER_JDK_HOME_PATH=/opt/java/openjdk @@ -43,7 +43,7 @@ COPY pom.xml ./target/*.zi[p] /tmp WORKDIR /tmp RUN unzip *.zip -d /opt/oscal-cli-extended -FROM ${RUNNER_IMAGE} as runner +FROM ${RUNNER_IMAGE} AS runner COPY --from=builder /opt/oscal-cli-extended /opt/oscal-cli-extended WORKDIR /opt/oscal-cli-extended RUN /opt/oscal-cli-extended/bin/oscal-cli --version