Created debug docker container for project

This commit is contained in:
2021-07-07 13:25:28 +02:00
parent ad8d3630bf
commit 16a84d6344
2 changed files with 13 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM paulscherrerinstitute/sf-daq_phdf5:1.0.0
COPY . /sf_daq_buffer/
RUN mkdir /sf_daq_buffer/build && \
cd /sf_daq_buffer/build && \
# Build the project
cmake3 .. && \
make && \
# Deploy the test config.
mkdir /config && \
cp /sf_daq_buffer/docker/example_detector.json /config
WORKDIR /sf_daq_buffer/build