forked from jlpteaching/dinocpu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdinocpu.def
More file actions
25 lines (19 loc) · 744 Bytes
/
dinocpu.def
File metadata and controls
25 lines (19 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
BootStrap: docker
From: openjdk:8u212
%files
%post
curl -L -o sbt-1.3.4.deb https://dl.bintray.com/sbt/debian/sbt-1.3.4.deb && \
dpkg -i sbt-1.3.4.deb && \
rm sbt-1.3.4.deb && \
apt-get update && \
apt-get install -y sbt libxext6 libfontconfig1 libxrender1 libxtst6
%runscript
sbt -mem 2048
%labels
Author Jason Lowe-Power <jlowepower@ucdavis.edu>
%help
This container is set up for building, testing, and simulating the DINO CPU.
When run, this container executes sbt and will drop you into the sbt shell.
If you want to run a different command in this container, you can use
singularity exec <image.sif> <your command>. You may want to increase the
memory for sbt as the runscript above.