GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-sdk/docker at master · sibsankarb4/java-sdk

Expand file tree

/

docker

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

docker

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src/main/java/com/ibm
src/main/java/com/ibm
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Using this library in Docker

You can use the provided Dockerfile and POM to help test issues you have with the SDK.

  1. Install Docker
    • Mac: https://docs.docker.com/docker-for-mac/install/
    • Windows: https://docs.docker.com/docker-for-windows/install/
  2. Add the dependencies and code you'd like to test
    • If you're testing a simple project, you can edit the DockerTest.java file directly. Everything's set up to pull in the lastest version of the ibm-watson package and run that file when building the image.

    • If you'd like to use your own files, feel free to add them. Just be sure to edit the execution line in the Dockerfile to run your main class:

      RUN mvn -e exec:java -Dexec.mainClass="com.ibm.<MAIN_CLASS>"
      

      If you import a project with a different group ID, you'll need to change that in the provided pom.xml as well.

    • For more information on dockerfile construction please visit https://docs.docker.com/engine/reference/builder/

  3. Build the Docker image
    • From the directory with the Dockerfile, run docker build --tag=<your-tag> .
    • You should be able to verify that everything worked properly based on the output!
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.