-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (27 loc) · 1.07 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
FROM debian:9
MAINTAINER UKAEA <admin@fispact.ukaea.uk>
# Build-time metadata as defined at http://label-schema.org
ARG PROJECT_NAME
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="$PROJECT_NAME" \
org.label-schema.description="Debian docker image for FISPACT-II" \
org.label-schema.url="http://fispact.ukaea.uk/" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/fispact/docker_debian" \
org.label-schema.vendor="UKAEA" \
org.label-schema.version=$VERSION \
org.label-schema.license="Apache-2.0" \
org.label-schema.schema-version="1.0"
ENV RUN_SCRIPT ~/.bashrc
WORKDIR /
# Install additional packages
RUN apt-get --yes update && \
apt-get --yes upgrade && \
apt-get --yes install gfortran make cmake less git python3 python3-pip python-dev && \
apt-get --yes install build-essential doxygen cloc rsync cpio libquadmath0 && \
pip3 install --upgrade pip && \
pip3 install pytest pytest-xdist pypact
CMD /bin/bash $RUN_SCRIPT