Skip to content

Commit

Permalink
Merge branch 'salsa' of https://github.com/ION606/DockerImages into h…
Browse files Browse the repository at this point in the history
…askell
  • Loading branch information
ION606 committed Sep 5, 2024
2 parents 4d2abb6 + bc8d8ca commit 6fa7d49
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dockerfiles/salsa/1.1.6/Dockerfile
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"]
3 changes: 3 additions & 0 deletions dockerfiles/salsa/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"pushLatest": false
}

0 comments on commit 6fa7d49

Please sign in to comment.