-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'salsa' of https://github.com/ION606/DockerImages into h…
…askell
- Loading branch information
Showing
2 changed files
with
22 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,19 @@ | ||
FROM ubuntu:22.04 | ||
|
||
# Install necessary packages (Java and curl) | ||
RUN apt-get update \ | ||
&& apt-get install -y openjdk-17-jdk curl --no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /usr/src/app | ||
|
||
RUN mkdir -p /usr/local/lib/salsa | ||
|
||
# Download the Salsa compiler jar file | ||
RUN curl -SL -o /usr/local/lib/salsa/salsa1.1.6.jar http://wcl.cs.rpi.edu/salsa/releases/salsa1.1.6.jar | ||
|
||
# Set environment variable for the Salsa compiler jar location | ||
ENV SALSA_COMPILER_JAR=/usr/local/lib/salsa/salsa1.1.6.jar | ||
|
||
# start the container from bash | ||
CMD ["/bin/bash"] |
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 | ||
} |