Skip to content

A VSCode Notebook for Java that runs on Red Hat OpenShift AI

License

Notifications You must be signed in to change notification settings

nerc-images/vscode-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-java

An OpenShift AI Image running VSCode for Java development.

  • Based on the IJava project by SpencerPark on GitHub for Jupyter Lab Notebook integration.
  • Uses java-17-openjdk-devel and maven package support.
  • Used by the Smarta Byar Smart Village Community using AI/ML code generation technology for Smart Data Model APIs.

Base image: quay.io/opendatahub-contrib/workbench-images:vscode-datascience-c9s-py311_2023c_latest

Python packages Description
jupyterlab A web-based user interface to work with Jupyter notebooks, editors, terminals, and custom components
bash_kernel A Jupyter kernel for bash
ansible For running Ansible Playbooks from Jupyter Notebooks, like deploying applications to an OpenShift Project with the Smart Village Operator.
Downloaded packages Description
IJava We download IJava 1.3.0 with curl, unzip it, and install it with the provided install.py into /opt/app-root.
System packages Description
java-17-openjdk-devel We provide the full Java 17 OpenJDK SDK to run and compile Java applications cloned from git in the terminal and Java inline Jupyter Notebooks.
maven Maven is provided for compiling, installing, and deploying Java packages to Maven Central.

Build the container with podman

podman build -t nerc-images/vscode-java:latest .

Run the container with podman

podman run --rm -it --entrypoint /bin/bash nerc-images/vscode-java:latest

You can pull the latest vscode-java container image below:

podman pull quay.io/nerc-images/vscode-java:latest