Skip to content

Commit

Permalink
Capitalize "as" in Dockerfile stages
Browse files Browse the repository at this point in the history
Updated Dockerfile by capitalizing "AS" in multi-stage builds. This change enhances readability and adheres to common Dockerfile conventions.
  • Loading branch information
timveil committed Sep 22, 2024
1 parent c283622 commit 5ba3191
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,12 +1,12 @@
FROM maven:3.9-eclipse-temurin-21 as builder
FROM maven:3.9-eclipse-temurin-21 AS builder
WORKDIR /app
COPY ./pom.xml ./pom.xml
RUN mvn dependency:go-offline -B
COPY ./src ./src
RUN mvn package && cp target/*.jar application.jar
RUN java -Djarmode=layertools -jar application.jar extract

FROM cockroachdb/cockroach:latest as cockroach
FROM cockroachdb/cockroach:latest AS cockroach

FROM eclipse-temurin:21-jdk
COPY --from=builder /app/dependencies/ ./
Expand Down

0 comments on commit 5ba3191

Please sign in to comment.