Compare commits
10 Commits
f4fab54215
...
09a4bbf330
| Author | SHA1 | Date | |
|---|---|---|---|
| 09a4bbf330 | |||
|
|
d743e60f19 | ||
|
|
8f49550f0d | ||
|
|
0b88235834 | ||
|
|
1e110e316b | ||
|
|
1e2923ad9a | ||
|
|
c68e87c379 | ||
|
|
d504ce54e2 | ||
|
|
73316042c4 | ||
|
|
ec6cc2c640 |
@@ -1,11 +1,11 @@
|
|||||||
DEBIAN = stretch
|
DEBIAN = buster
|
||||||
FROM = debian:$(DEBIAN)
|
FROM = debian:$(DEBIAN)
|
||||||
MODE = minimal
|
MODE = minimal
|
||||||
PROXY = $(shell hostname -I | cut -d' ' -f1)
|
PROXY = #$(shell hostname -I | cut -d' ' -f1)
|
||||||
TIMEZONE = Europe/London
|
TIMEZONE = Europe/Amsterdam
|
||||||
JOBS = 2
|
JOBS = 2
|
||||||
CLEANUP = true
|
CLEANUP = true
|
||||||
ARGS = --rm=false --no-cache=false
|
ARGS = --rm=false --no-cache
|
||||||
|
|
||||||
include $(wildcard $(DOCKER_HOME)/config.mk)
|
include $(wildcard $(DOCKER_HOME)/config.mk)
|
||||||
include $(wildcard $(DOCKER_HOME)/build/make/*.mk)
|
include $(wildcard $(DOCKER_HOME)/build/make/*.mk)
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ for part in parts:
|
|||||||
partfile = '{}_{}.sh'.format(file, i)
|
partfile = '{}_{}.sh'.format(file, i)
|
||||||
path = '{}/build/parts/{}'.format(os.environ['DOCKER_HOME'], partfile)
|
path = '{}/build/parts/{}'.format(os.environ['DOCKER_HOME'], partfile)
|
||||||
open(path, 'w').write(contents)
|
open(path, 'w').write(contents)
|
||||||
os.chmod(path, 0o100)
|
os.chmod(path, 0o700)
|
||||||
|
|
||||||
# Append to Dockerfile
|
# Append to Dockerfile
|
||||||
docker.write('ADD parts/{} {}/{}\n'.format(partfile, tmp, partfile))
|
docker.write('ADD parts/{} {}/{}\n'.format(partfile, tmp, partfile))
|
||||||
|
|||||||
@@ -1,3 +1,25 @@
|
|||||||
apt_install_permanent libsensors4 hddtemp collectd
|
apt_install_permanent libsensors5 liblzo2-2 hddtemp collectd sudo btrfs-progs libatasmart4
|
||||||
|
|
||||||
pip install requests
|
pip install requests
|
||||||
|
|
||||||
|
useradd collectd
|
||||||
|
usermod -aG sudo collectd
|
||||||
|
echo 'collectd ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/collectd
|
||||||
|
|
||||||
|
apt_install_temporary -y gcc python-dev make
|
||||||
|
git clone https://github.com/RRZE-HPC/likwid.git
|
||||||
|
cd likwid && make -j && make install
|
||||||
|
|
||||||
|
git clone https://github.com/RRZE-HPC/pylikwid.git
|
||||||
|
cd pylikwid
|
||||||
|
python setup.py build_ext
|
||||||
|
python setup.py install
|
||||||
|
|
||||||
|
apt_install_temporary -y collectd-dev
|
||||||
|
git clone https://github.com/n-st/collectd-plugin-intel_cpu_energy.git collectd-energy
|
||||||
|
cd collectd-energy
|
||||||
|
sed -i 's/ssnprintf/vsnprintf/' intel_cpu_energy.c
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
export_env LD_LIBRARY_PATH /usr/local/lib
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
## Configuration
|
## Configuration
|
||||||
export_env FACETTE_VERSION 0.4.0
|
export_env FACETTE_VERSION 0.5.1
|
||||||
export_env FACETTE_PACKAGE facette_${FACETTE_VERSION}_$DEBIAN-amd64.deb
|
export_env UBUNTU bionic
|
||||||
|
export_env FACETTE_PACKAGE facette_${FACETTE_VERSION}_$UBUNTU-amd64.deb
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
apt_install_permanent librrd8 mime-support
|
apt_install_permanent librrd8 mime-support daemon
|
||||||
|
|
||||||
## Facette
|
## Facette
|
||||||
cd /opt
|
cd /opt
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## Often used tools
|
## Often used tools
|
||||||
apt_install_permanent software-properties-common gnupg2 dirmngr psmisc wget curl python-pip git gawk zip gperf unzip bzip2 inetutils-ping inetutils-telnet rsync
|
apt_install_permanent software-properties-common gpgv dirmngr psmisc wget curl python-pip git gawk zip gperf unzip lbzip2 inetutils-ping inetutils-telnet rsync
|
||||||
|
|
||||||
## Often used python modules
|
## Often used python modules
|
||||||
pip install argparse
|
pip install argparse
|
||||||
|
|||||||
Reference in New Issue
Block a user