Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
faser
docker
Commits
85f72670
Commit
85f72670
authored
1 year ago
by
Sumalyo Datta
Browse files
Options
Downloads
Patches
Plain Diff
changes in file to include from source
parent
b8b3c250
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Support for supervisor and reddis in faser-daq docker
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
faser-daq/Dockerfile
+6
-5
6 additions, 5 deletions
faser-daq/Dockerfile
faser-daq/startup.sh
+2
-0
2 additions, 0 deletions
faser-daq/startup.sh
with
8 additions
and
5 deletions
faser-daq/Dockerfile
+
6
−
5
View file @
85f72670
...
...
@@ -27,6 +27,7 @@ RUN yum install -y python3-devel && \
#RUN scl enable rh-python38 bash
ADD
https://raw.githubusercontent.com/Sumalyo/faser-docker-fork/dev/requirements.txt /faser/daq
#to be replaced with a requirements file from faser repo once it is ready
RUN
python3
-m
pip
install
--upgrade
pip
...
...
@@ -159,19 +160,19 @@ RUN mkdir /etc/supervisor
RUN
mkdir
/etc/supervisor/conf.d
ADD
https://gitlab.cern.ch/ep-dt-di/daq/daqling/-/
blob
/master/ansible/roles/supervisor/files/supervisord.conf /etc/supervisor/
ADD
https://gitlab.cern.ch/ep-dt-di/daq/daqling/-/
raw
/master/ansible/roles/supervisor/files/supervisord.conf /etc/supervisor/
ADD
https://gitlab.cern.ch/ep-dt-di/daq/daqling/-/raw/master/ansible/roles/supervisor/files/inet_http_server.conf /etc/supervisor/conf.d/
ADD
https://gitlab.cern.ch/ep-dt-di/daq/daqling/-/raw/master/ansible/roles/supervisor-twiddler/files/twiddler.conf /etc/supervisor/conf.d/
RUN
sed
-i
's/\[group:
xyz
\]/[group:
abc
]/'
/etc/supervisor/conf.d/twiddler.conf
RUN
sed
-i
's/\[group:
daq
\]/[group:
faser
]/'
/etc/supervisor/conf.d/twiddler.conf
# to be edited to run faser group
ADD
https://gitlab.cern.ch/ep-dt-di/daq/daqling/-/raw/master/ansible/roles/redis/files/redis.conf /etc/
RUN
sed
's/spack install nlohmann-json@3.6.1 ${ARCH} cppzmq@4.3.0 ${ARCH} xmlrpc-c@1.51.06 ${ARCH} boost@1.70.0 ${ARCH} cpr ${ARCH} ers ${ARCH} folly-incl ${ARCH} moody-incl ${ARCH}$/& zstd ${ARCH} googletest ${ARCH} lz4@1.9.2 ${ARCH} brotli ${ARCH}/'
/daqling-spack-repo/Install.sh
RUN
source
/daqling-spack-repo/Install.sh
#
Add dependency and Install packages
#
RUN sed
-i 's/\(moody-incl arch=linux-None-x86_64\)/\1, zstd arch=linux-centos7-x86_64, googletest arch=linux-centos7-x86_64, lz4@1.9.2 arch=linux-centos7-x86_64, brotli arch=linux-centos7-x86_64/' /daqling-spack-repo/spack/var/spack/environments/daqling/spack.yaml
#
RUN . /daqling-spack-repo/spack/share/spack/setup-env.sh ; spack env activate daqling ; spack find; spack install
#CMD ["/usr/local/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
...
...
This diff is collapsed.
Click to expand it.
faser-daq/startup.sh
+
2
−
0
View file @
85f72670
...
...
@@ -8,5 +8,7 @@ echo "Now starting supervisord"
/usr/local/bin/supervisord
-c
/etc/supervisor/supervisord.conf
echo
"Now starting redis database"
/usr/bin/redis-server /etc/redis.conf
--daemonize
yes
# sed -i 's/\(moody-incl arch=linux-None-x86_64\)/\1, zstd arch=linux-centos7-x86_64, googletest arch=linux-centos7-x86_64, lz4@1.9.2 arch=linux-centos7-x86_64, brotli arch=linux-centos7-x86_64/' /daqling-spack-repo/spack/var/spack/environments/daqling/spack.yaml;
# . /daqling-spack-repo/spack/share/spack/setup-env.sh ; spack env activate daqling ; spack find; spack install ;
ps aux
/bin/bash
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment