/code-server-frc-java

Extension to linuxserver's code-server container to include Java 11, WPI Lib, and some git helpers.

Primary LanguageShellMIT LicenseMIT

code-server-frc-java

Extension to linuxserver's code-server container to include Java 11, WPI Lib, and some git helpers.

code-server Image

The core component of this repo is the Dockerfile which extends linuxserver's code-server image. In order to provide the tools needed for FRC Java development the Dockerfile installs OpenJDK 11 and the WPILib and Java Extension Pack extensions. Finally, the Dockerfile adds two scripts, add-git.sh and get-code.sh. add-git.sh guides a user through setting up Git with an SSH key and adding it to GitHub. get-code.sh helps a user clone and open a repo of robot code. The repo is configured to be wildstang/XXXX_robot_software, this would have to be changed for other teams.

Build Image

docker build . --tag code-server will build the Dockerfile and tag it code-server.

Run code-server

docker run -d --name=code-server -e PUID=1000 -e PGID=1000 -e TZ=America/Chicago -p 8443:8443 code-server will create the most basic image, accessible through localhost:8443.