1#!/bin/bash -e
2
3# author: Ole Schuett
4
5# install Ubuntu packages
6apt-get update -qq
7apt-get install -qq --no-install-recommends \
8    libfindbin-libs-perl                    \
9    build-essential                         \
10    make                                    \
11    perl                                    \
12    python                                  \
13    python3-{pip,setuptools,wheel,dev}
14
15rm -rf /var/lib/apt/lists/*
16
17# install python packages
18pip3 install pre-commit
19
20# register the pre-commit hooks
21cd /workspace/cp2k
22pre-commit install --install-hooks
23
24#EOF
25