File tree 3 files changed +44
-2
lines changed
3 files changed +44
-2
lines changed Original file line number Diff line number Diff line change
1
+ FROM vcatechnology/linux-mint:18.0
2
+ MAINTAINER UKAEA <
[email protected] >
3
+
4
+ # Build-time metadata as defined at http://label-schema.org
5
+ ARG PROJECT_NAME
6
+ ARG BUILD_DATE
7
+ ARG VCS_REF
8
+ ARG VERSION
9
+ LABEL org.label-schema.build-date=$BUILD_DATE \
10
+ org.label-schema.name="$PROJECT_NAME" \
11
+ org.label-schema.description="Linux Mint docker image for FISPACT-II" \
12
+ org.label-schema.url="http://fispact.ukaea.uk/" \
13
+ org.label-schema.vcs-ref=$VCS_REF \
14
+ org.label-schema.vcs-url="https://github.com/fispact/docker_linuxmint" \
15
+ org.label-schema.vendor="UKAEA" \
16
+ org.label-schema.version=$VERSION \
17
+ org.label-schema.license="Apache-2.0" \
18
+ org.label-schema.schema-version="1.0"
19
+
20
+ ENV RUN_SCRIPT ~/.bashrc
21
+
22
+ # Install additional packages
23
+ RUN apt-get --yes update && \
24
+ apt-get --yes upgrade && \
25
+ apt-get --yes install gfortran g++ make cmake less python3 python3-pip python-dev && \
26
+ apt-get --yes install build-essential doxygen cloc rsync cpio libquadmath0 && \
27
+ pip3 install --upgrade pip && \
28
+ pip3 install pytest pytest-xdist pypact
29
+
30
+ WORKDIR /
31
+
32
+ CMD /bin/bash $RUN_SCRIPT
Original file line number Diff line number Diff line change 1
- # docker_linuxmint
2
- Automated build of Linux Mint images with the required dependencies for FISPACT-II
1
+ # Linux Mint Docker Container for FISPACT-II
2
+
3
+ Automated build of Linux Mint images with the required dependencies for [ FISPACT-II] ( http://fispact.ukaea.uk ) .
4
+
5
+ Available on the Docker Hub as [ fispact/linuxmint] ( https://hub.docker.com/r/fispact/linuxmint/ ) .
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env sh
2
+ docker build \
3
+ --build-arg BUILD_DATE=` date -u +" %Y-%m-%dT%H:%M:%SZ" ` \
4
+ --build-arg VCS_REF=$GIT_SHA1 \
5
+ --build-arg VERSION=$DOCKER_TAG \
6
+ --build-arg PROJECT_NAME=${DOCKER_REPO#*/* } \
7
+ -t $IMAGE_NAME .
You can’t perform that action at this time.
0 commit comments