forked from riscv-software-src/riscv-unified-db
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontainer.def
51 lines (43 loc) · 896 Bytes
/
container.def
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Bootstrap: docker
From: ubuntu:24.04
# %files
# Gemfile $HOME/
# package.json $HOME/
%post
export DEBIAN_FRONTEND=noninteractive
apt-get update
# please keep pkgs sorted
apt-get install -y --no-install-recommends \
build-essential \
bundler \
clang-format \
clang-tidy \
cmake \
ditaa \
g++ \
gcc-riscv64-linux-gnu \
gcc-riscv64-unknown-elf \
gdb \
gh \
git \
less \
libc6-dev-riscv64-cross \
libelf-dev \
libgmp-dev \
libyaml-dev \
nodejs \
npm \
python3 \
python3-pip \
python3.12-venv \
ruby \
ruby-dev \
shellcheck
# cleanup
apt-get clean autoclean
apt-get autoremove -y
rm -rf /var/lib/{apt, dpkg, cache, log}
# cd $HOME
# bundle install
# npm i wavedrom-cli
# npm i i -E @antora/cli@3.1 @antora/site-generator@3.1 @antora/lunr-extension asciidoctor-kroki