These samples are for demonstration purposes only; the contents of a Dockerfile will vary greatly depending on the specific application and associated configuration requirements. Sample 1: Spark This example shows a Spark Dockerfile: # Spark-1. docker image for RHEL/CentOS 6....
Demo of taking thepetclinic Java appand adding the proper Docker files to make it easier for dev, test, and prod. Check thepet-clinic-app/Dockerfilefor multi-stage building of a .jar with maven Check thedocker-compose.ymlfor a full-featured Dev setup with depends_on using true "wait-for...
% docker build .[+] Building4.5s (7/7) FINISHED=> [internal] load build definition from Dockerfile0.0s=> => transferring dockerfile:37B0.0s=> [internal] load .dockerignore0.0s=> => transferring context:2B0.0s=> [internal] load metadatafordocker.io/library/openjdk:8-jre4.4s=> [interna...
Dockerfile Jenkinsfile Procfile README.md pom.xml Repository files navigation README java-tomcat-maven-example This is an example ready-to-deploy java web application built for Tomcat using Maven and webapp-runner. Running Locally (need maven and java installed) mvn package java -jar targ...
cdopentelemetry-operations-java/examples/instrumentation-quickstart Build and run the sample: dockercomposeup--abort-on-container-exit If you aren't running on Cloud Shell, then run the application with theGOOGLE_APPLICATION_CREDENTIALSenvironment variable pointing to a credentials file.Application Default...
Demonstrate a pub/sub messaging architecture using Dapr for a Java application running in a Kubernetes cluster. This sample project implements an event-driven communication between different components of the system using the pub/sub pattern.
WithDockerContainerImage FunctionApp.DefinitionStages.WithNewAppServicePlan FunctionApp.DefinitionStages.WithRuntimeVersion FunctionApp.DefinitionStages.WithStorageAccount FunctionApp.Update FunctionApp.UpdateStages FunctionApp.UpdateStages.WithAppServicePlan FunctionApp.UpdateStages.WithCredentials FunctionApp.Update...
WithDockerContainerImage FunctionApp.DefinitionStages.WithManagedEnvironment FunctionApp.DefinitionStages.WithNewAppServicePlan FunctionApp.DefinitionStages.WithRuntimeVersion FunctionApp.DefinitionStages.WithScaleRulesOrDockerContainerImage FunctionApp.DefinitionStages.WithStorageAccount FunctionApp.Update FunctionApp....
java-jar core/target/core-0.0.1-SNAPSHOT.jar The application will even load the sample bundle within thepluginsfolder. You can play with it simply removing, adding back, ... and check what the OSGi server will be Docker The application is coming with a sample Dockerfile which shows how ...
$ cat setenv.sh export JAVA_OPTS="-javaagent:/opt/jmx_exporter/jmx_prometheus_javaagent-0.12.0.jar=9404:/opt/jmx_exporter/config.yaml $JAVA_OPTS" your web application.war is your web application war file to be loaded by Tomcat. Build a Docker image with this co...