From dae738caafdc1bd37e487d6300a24a20afc47413 Mon Sep 17 00:00:00 2001 From: Himanshu Gupta Date: Sun, 2 Jul 2023 20:12:18 +0530 Subject: [PATCH] commit --- .../templates/amazon-dynamodb-quarkus/bunnyshell.yaml | 1 + .../src/main/docker/Dockerfile.bunnyshell.dev | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.bunnyshell/templates/amazon-dynamodb-quarkus/bunnyshell.yaml b/.bunnyshell/templates/amazon-dynamodb-quarkus/bunnyshell.yaml index 67d3765a9e..167113e080 100644 --- a/.bunnyshell/templates/amazon-dynamodb-quarkus/bunnyshell.yaml +++ b/.bunnyshell/templates/amazon-dynamodb-quarkus/bunnyshell.yaml @@ -38,6 +38,7 @@ components: build: context: ./amazon-dynamodb-quickstart dockerfile: src/main/docker/Dockerfile.bunnyshell.dev + target: dev environment: LOCALSTACK: 'dynamodb-localstack' ports: diff --git a/amazon-dynamodb-quickstart/src/main/docker/Dockerfile.bunnyshell.dev b/amazon-dynamodb-quickstart/src/main/docker/Dockerfile.bunnyshell.dev index c5b503c8dc..9ed146f594 100644 --- a/amazon-dynamodb-quickstart/src/main/docker/Dockerfile.bunnyshell.dev +++ b/amazon-dynamodb-quickstart/src/main/docker/Dockerfile.bunnyshell.dev @@ -77,14 +77,14 @@ # accessed directly. (example: "foo.example.com,bar.example.com") # ### -FROM registry.access.redhat.com/ubi8/openjdk-11:1.15 +FROM registry.access.redhat.com/ubi8/openjdk-11:1.15 as dev ENV LANGUAGE='en_US:en' COPY --chown=185 .mvn .mvn COPY --chown=185 pom.xml mvnw mvnw.cmd ./ +RUN ./mvnw dependency:resolve COPY --chown=185 src src - -RUN ./mvnw clean quarkus:dev -Dmaven.test.skip +CMD ["./mvnw","clean","quarkus:dev","-Dmaven.test.skip"]