Skip to content
Snippets Groups Projects
Commit 0158f68d authored by Brian Petersen's avatar Brian Petersen
Browse files

Merge branch 'tcalib-alma9' into 'alma9'

add alma9 docker image build for trackercalibration

See merge request !3
parents 9b867d22 7496712b
No related branches found
No related tags found
1 merge request!3add alma9 docker image build for trackercalibration
......@@ -22,6 +22,21 @@ build_daq:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE/daq:$CI_COMMIT_REF_SLUG ./faser-daq
- docker push $CI_REGISTRY_IMAGE/daq:$CI_COMMIT_REF_SLUG
build_trackercalibration:
stage: package
tags:
- docker-privileged-xl
image: docker:20.10.16
services:
- docker:20.10.16-dind
variables:
DOCKER_TLS_CERTDIR: "/certs"
script:
- docker info
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE/trackercalibration:$CI_COMMIT_REF_SLUG ./trackercalibration
- docker push $CI_REGISTRY_IMAGE/trackercalibration:$CI_COMMIT_REF_SLUG
#build_offline:
......
# start from the base daqling repository
# https://gitlab.cern.ch/ep-dt-di/daq/daqling/blob/XXX/etc/Dockerfile
FROM gitlab-registry.cern.ch/ep-dt-di/daq/daqling:fc-al9
# put all of the code within the /faser/daq directory in the image
ADD . /faser/trackercalibration
WORKDIR /faser/trackercalibration
# boost dependency
RUN dnf install boost-devel && dnf clean all
# dependencies for gpiodrivers & faser-common
RUN dnf install -y lz4 lz4-devel libzstd libzstd-devel eigen3-devel libusb-devel json-devel && dnf clean all
# trackercalibration dependencies
RUN dnf -y install root root-tpython
ENV HOME /home
COPY startup.sh $HOME/startup.sh
ENTRYPOINT ["/bin/bash", "/home/startup.sh","/bin/bash"]
echo "Placing you in bash env - Remember, YOU ARE A BEAUTIFUL PERSON! Now go get some!"
/bin/bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment