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 f0a3e53 commit eb591b1
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
Expand Up @@ -5,7 +5,7 @@ ARG RUNNER_IMAGE=eclipse-temurin:17-alpine
# the container.
ARG USE_PREBUILT_ZIP

FROM ${BUILDER_IMAGE} as builder
FROM ${BUILDER_IMAGE} AS builder
ARG USE_PREBUILT_ZIP
ARG BUILDER_JDK_VENDOR=temurin
ARG BUILDER_JDK_MAJOR_VERSION=17
Expand Down Expand Up @@ -47,7 +47,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 eb591b1

Please sign in to comment.