Skip to content

Commit cf4c510

Browse files
authored
Add collector version to compilation step (#1825)
1 parent ca4c90c commit cf4c510

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

collector/container/konflux.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ ARG SOURCES_DIR=/staging
4848

4949
COPY . ${SOURCES_DIR}
5050

51+
ARG COLLECTOR_TAG
5152
ARG BUILD_DIR
5253
ARG SRC_ROOT_DIR=${BUILD_DIR}
5354
ARG CMAKE_BUILD_DIR
@@ -83,6 +84,7 @@ RUN ./builder/install/install-dependencies.sh && \
8384
-DDISABLE_PROFILING=${DISABLE_PROFILING} \
8485
-DUSE_VALGRIND=${USE_VALGRIND} \
8586
-DADDRESS_SANITIZER=${ADDRESS_SANITIZER} \
87+
-DCOLLECTOR_VERSION=${COLLECTOR_TAG} \
8688
-DTRACE_SINSP_EVENTS=${TRACE_SINSP_EVENTS} && \
8789
cmake --build ${CMAKE_BUILD_DIR} --target all -- -j "${NPROCS:-4}" && \
8890
ctest -V --test-dir ${CMAKE_BUILD_DIR} && \

0 commit comments

Comments
 (0)