Commit 0ec72539 authored by Evgeny Lavrik's avatar Evgeny Lavrik
Browse files

Changes

parent bc81d801
......@@ -2,13 +2,14 @@ ARG BASE_IMAGE=elavrik/fairroot:latest
FROM $BASE_IMAGE
ARG GIT_REPO=https://git.cbm.gsi.de/computing/cbmroot.git
ARG GIT_TAG=6ef969bc
#
# CbmRoot
#
WORKDIR /tmp/cbmroot-build
RUN git clone https://git.cbm.gsi.de/computing/cbmroot.git CbmRoot && \
RUN git clone ${GIT_REPO} CbmRoot && \
cd CbmRoot && git checkout ${GIT_TAG} && cd .. && \
mkdir -vp CbmRoot_build && cmake -S CbmRoot -B CbmRoot_build -DCMAKE_INSTALL_PREFIX=/opt/cbmroot && \
make -C CbmRoot_build -j`nproc` install && \
......
......@@ -51,6 +51,7 @@ services:
build:
context: ./cbmroot
args:
- GIT_REPO=https://git.cbm.gsi.de/computing/cbmroot.git
- GIT_TAG=6ef969bc
volumes:
- workspace:/opt/code
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment