This is an automated email from the ASF dual-hosted git repository. thiagoelg pushed a commit to branch semeru-images in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
commit 1bafc6460416592dd0b99bc161da9326a63ce2ca Author: Alex thiagolugli <[email protected]> AuthorDate: Thu Mar 21 15:21:22 2024 -0300 NO-ISSUE: Remove mkdir command and fix READMEs --- packages/dev-deployment-base-image/README.md | 13 +++++++++++++ .../dev-deployment-kogito-quarkus-blank-app-image/README.md | 4 ++-- packages/kie-sandbox-extended-services-image/Containerfile | 2 -- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/packages/dev-deployment-base-image/README.md b/packages/dev-deployment-base-image/README.md index 30c0e6c4fb4..3d213d44454 100644 --- a/packages/dev-deployment-base-image/README.md +++ b/packages/dev-deployment-base-image/README.md @@ -5,6 +5,9 @@ Docker image with Java and Maven, as well as the dev-deployment-upload-service b ## Build arguments - `BUILDER_IMAGE_ARG`: The base image used for building this image (defaults to `registry.access.redhat.com/ubi9/openjdk-17:1.18`). + - Tested with: + - registry.access.redhat.com/ubi9/openjdk-17:1.18 + - icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi-minimal ## Environment variables @@ -20,3 +23,13 @@ Docker image with Java and Maven, as well as the dev-deployment-upload-service b ### Optional - `DEV_DEPLOYMENT__UPLOAD_SERVICE_ROOT_PATH`: If the Upload Service is not running in the root path of the URL, this variable should be specified. + +## Test locally + +Run the image with: + +- `docker run -p 8080:8080 -e DEV_DEPLOYMENT__UPLOAD_SERVICE_API_KEY=123 quay.io/kie-tools/dev-deployment-base-image:daily-dev 'dev-deployment-upload-service && ./mvnw quarkus:dev'` + +Then upload a zip file containing the resources (full Java project) + +- `curl -X POST -H "Content-Type: multipart/form-data" -F "myFile=@<ABSOLUTE_PATH_TO_YOUR_FILE>" 'http://localhost:8080/upload?apiKey=123'` diff --git a/packages/dev-deployment-kogito-quarkus-blank-app-image/README.md b/packages/dev-deployment-kogito-quarkus-blank-app-image/README.md index 334169ca607..ebd273e9141 100644 --- a/packages/dev-deployment-kogito-quarkus-blank-app-image/README.md +++ b/packages/dev-deployment-kogito-quarkus-blank-app-image/README.md @@ -28,8 +28,8 @@ These files can decisions or processes, all of them will be used as resources fo Run the image with: -- `docker run -p 8080:8080 -e DEV_DEPLOYMENT__UPLOAD_SERVICE_API_KEY=123 quay.io/kie-tools/dev-deployment-kogito-quarkus-blank-app-image:latest` +- `docker run -p 8080:8080 -e DEV_DEPLOYMENT__UPLOAD_SERVICE_API_KEY=123 quay.io/kie-tools/dev-deployment-kogito-quarkus-blank-app-image:daily-dev` Then upload a zip file containing the resources (DMN, BPMN, etc) -- `curl -X POST -H "Content-Type: multipart/form-data" -F "myFile=@<ABSOLUTE_PATH_TO_YOUR_FILE>" http://localhost:8080/upload?apiKey=123` +- `curl -X POST -H "Content-Type: multipart/form-data" -F "myFile=@<ABSOLUTE_PATH_TO_YOUR_FILE>" 'http://localhost:8080/upload?apiKey=123'` diff --git a/packages/kie-sandbox-extended-services-image/Containerfile b/packages/kie-sandbox-extended-services-image/Containerfile index a5c9b062766..6e82a94e890 100644 --- a/packages/kie-sandbox-extended-services-image/Containerfile +++ b/packages/kie-sandbox-extended-services-image/Containerfile @@ -26,8 +26,6 @@ ARG EXTENDED_SERVICES_DEFAULT_PORT ENV EXTENDED_SERVICES_HOST=$EXTENDED_SERVICES_DEFAULT_HOST ENV EXTENDED_SERVICES_PORT=$EXTENDED_SERVICES_DEFAULT_PORT -RUN mkdir kie-sandbox - COPY --chown=1000:0 dist-dev/kie_sandbox_extended_services /kie-sandbox/kie_sandbox_extended_services EXPOSE $EXTENDED_SERVICES_PORT --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
