Add entry point to derived image

This commit is contained in:
2021-07-22 11:32:23 +02:00
parent 570490ec93
commit 149992d2b8
+7 -1
View File
@@ -8,6 +8,12 @@ RUN mkdir /std_daq_buffer/build && \
cmake3 .. -DUSE_EIGER=1 && \
make && \
# Deploy the test config.
cp /std_daq_buffer/docker/example_detector.json .
cp /std_daq_buffer/docker/example_detector.json . && \
# Deploy the container starter scripts.
cp /std_daq_buffer/docker/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh && \
cp /std_daq_buffer/docker/redis_status.sh /usr/bin/redis_status.sh
WORKDIR /std_daq_buffer/build
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
CMD ["bash"]