-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (37 loc) · 1.16 KB
/
Dockerfile
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
FROM ubuntu:22.04
LABEL maintainer="Johann Fredrik Jadebeck <[email protected]>"
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get clean -y
RUN apt-get update -y
# build tools
RUN apt-get install -y apt-utils
RUN apt-get install -y build-essential
RUN apt-get install -y software-properties-common
RUN apt-get install -y git
RUN apt-get install -y cmake
RUN apt-get install -y clang
RUN apt-get install -y doxygen
RUN apt-get install -y clang-tidy
RUN apt-get install -y clang-format
RUN apt-get install -y cppcheck
RUN apt-get install -y python3-pip
# hops dependencies
RUN apt-get install -y libeigen3-dev
RUN apt-get install -y libhdf5-dev
RUN apt-get install -y libsbml5-dev
RUN apt-get install -y libmpich-dev
RUN apt-get install -y libbz2-dev
RUN apt-get install -y coinor-libclp-dev
RUN apt-get install -y libboost-all-dev
RUN apt-get install -y libtbb-dev
# convenience
RUN apt-get install -y vim
RUN apt-get install -y ssh-client
RUN apt-get install -y xsltproc
# for creating bagdges
RUN python3 -m pip install anybadge
# for code quality
RUN python3 -m pip install cppcheck-codequality
RUN useradd -ms /bin/bash hops_user
USER hops_user
CMD tail -f /dev/null