-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSingularity.def
More file actions
23 lines (18 loc) · 855 Bytes
/
Singularity.def
File metadata and controls
23 lines (18 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Bootstrap: docker
From: ubuntu:24.04
%labels
maintainer nindanaoto(Kotaro MATSUOKA) <matsuoka.kotaro@gmail.com>
%post
# install build dependencies
apt-get update && apt-get upgrade -y
DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential g++ libomp-dev cmake git libgoogle-perftools-dev verilator ninja-build curl default-jre zlib1g-dev
# sbt
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y sbt
%environment
export LC_ALL=C
%runscript
exec bash "$@"