-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSingularity.simc_tools_debug_r8
35 lines (30 loc) · 1.21 KB
/
Singularity.simc_tools_debug_r8
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
BootStrap: yum
OSVersion: 8
MirrorURL: http://dl.rockylinux.org/pub/rocky/%{OSVERSION}/BaseOS/x86_64/os/
Include: dnf
%runscript
exec "$@"
%post
COMPOPT="--nodocs --setopt install_weak_deps=False"
dnf install -y $COMPOPT epel-release
dnf install -y 'dnf-command(config-manager)'
dnf config-manager --set-enabled powertools
dnf config-manager --set-enabled appstream
dnf copr enable -y simc/stable
# install smnd packages from simc repository
dnf install -y $COMPOPT wreport bufr2netcdf dballe arkimet libsim ma_utils wreport-debuginfo bufr2netcdf-debuginfo dballe-debuginfo arkimet-debuginfo libsim-debuginfo ma_utils-debuginfo
# fix for some badly coded airep reports, rewrite bufr table
# https://github.com/ARPA-SIMC/wreport/issues/58
cp /usr/share/wreport/B0000000000000015000.txt \
/usr/share/wreport/B0000000000000014000.txt
# debugging tools
dnf install -y $COMPOPT gdb strace valgrind
# save some space
dnf clean all
rm -rf /var/lib/{dnf,rpm,yum} /var/cache/*
%environment
export LOG4C_APPENDER=stderr
export LOG4C_PRIORITY=info
%help
This container includes most of the tools developed at SIMC
together with their debugging symbols and debugging tools.