Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Must define DEPENDENCY_TAG before it is used
# Must define DEPENDENCY_TAG before it is used, gets undefined after FROM
ARG DEPENDENCY_TAG=latest
FROM ghcr.io/dune-daq/microservices_dependencies:$DEPENDENCY_TAG

ARG MICROSERVICES_VERSION=develop
RUN : "${APP_ROOT:?APP_ROOT variable is required}" \
&& git clone -b ${MICROSERVICES_VERSION} https://github.com/DUNE-DAQ/microservices.git \
&& cp microservices/entrypoint.sh /

RUN echo "FROM ghcr.io/dune-daq/microservices_dependencies" \
&& git clone https://github.com/DUNE-DAQ/microservices.git \
&& cd microservices \
&& echo "https://github.com/DUNE-DAQ/microservices.git -> ${MICROSERVICES_VERSION}" \
&& git checkout ${MICROSERVICES_VERSION} \
&& : "${APP_ROOT:?APP_ROOT variable is required}" \
&& cp ./entrypoint.sh /

WORKDIR ${APP_ROOT}/microservices

Expand Down
Loading