-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[InstructorUI] Add docker image for CSCI 4210 (#19)
* Add CSCI 4210 * Add java home --------- Co-authored-by: Chris Reed <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"pushLatest": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM ubuntu:22.04 | ||
|
||
# Install python3 | ||
RUN apt-get update \ | ||
&& apt-get -y --no-install-recommends install python3 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Java 21 | ||
RUN apt-get update \ | ||
&& apt-get -y --no-install-recommends install openjdk-21-jdk \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Setup JAVA_HOME -- useful for docker commandline | ||
ENV JAVA_HOME /usr/lib/jvm/java-21-openjdk-amd64/ | ||
RUN export JAVA_HOME | ||
|
||
# Install C/C++ | ||
RUN apt-get update \ | ||
&& apt-get -y --no-install-recommends install gcc g++ \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|