Skip to content

Commit

Permalink
Capitalize FROM ... AS defs for image spec for metaschema-framework#22
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-gsa committed Oct 9, 2024
1 parent 797a15d commit 1bf5223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1bf5223

Please sign in to comment.