Skip to content

Commit

Permalink
Image change
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Oct 7, 2024
1 parent af4c1fc commit 83c24d3
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 artifacts.developer.gov.bc.ca/docker-remote/maven:3.8.1-openjdk-21-slim AS build
FROM artifacts.developer.gov.bc.ca/docker-remote/maven:3.9.9-amazoncorretto-21-alpine AS build
WORKDIR /workspace/app

COPY api/pom.xml .
COPY api/src src
RUN mvn package -DskipTests
RUN mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar)

FROM artifacts.developer.gov.bc.ca/docker-remote/openjdk:21.0.0-jdk-oracle
FROM artifacts.developer.gov.bc.ca/docker-remote/openjdk:21-jdk-oracle
RUN useradd -ms /bin/bash spring
RUN mkdir -p /logs
RUN chown -R spring:spring /logs
Expand Down

0 comments on commit 83c24d3

Please sign in to comment.