From 27f06a35844da382e6fd7196e3303fe785c02be4 Mon Sep 17 00:00:00 2001 From: Dmitry Ovcharenko Date: Wed, 27 Nov 2024 11:13:18 +0300 Subject: [PATCH] make debug jars path edt-version-independent --- coverage41C/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coverage41C/Dockerfile b/coverage41C/Dockerfile index 5994eb3..a8135a6 100644 --- a/coverage41C/Dockerfile +++ b/coverage41C/Dockerfile @@ -3,17 +3,17 @@ ARG BASE_IMAGE=edt ARG BASE_TAG ARG EDT_VERSION=2021.3 ARG COVERAGE41C_VERSION=2.7.2 -ARG EDT_PLUGINS=/opt/1C/1CE/components/1c-edt-${EDT_VERSION}*-x86_64/plugins FROM ${DOCKER_REGISTRY_URL}/edt:${EDT_VERSION} as base +RUN ln -s $(find /opt/1C -name "com._1c.g5.v8.dt.debug.*.jar" -printf '%h\n'| sort -u) /opt/1C/edt_plugins + FROM ${DOCKER_REGISTRY_URL}/${BASE_IMAGE}:${BASE_TAG} LABEL maintainer="Dima Ovcharenko , Korus Consulting LLC" ARG COVERAGE41C_VERSION -ARG EDT_PLUGINS -COPY --from=base ${EDT_PLUGINS}/com._1c.g5.v8.dt.debug.core_*.jar ${EDT_PLUGINS}/com._1c.g5.v8.dt.debug.model_*.jar /opt/1C/1CE/ +COPY --from=base /opt/1C/edt_plugins/com._1c.g5.v8.dt.debug.core_*.jar /opt/1C/edt_plugins/com._1c.g5.v8.dt.debug.model_*.jar /opt/1C/1CE/ ADD https://github.com/1c-syntax/Coverage41C/releases/download/v${COVERAGE41C_VERSION}/Coverage41C-${COVERAGE41C_VERSION}.tar \ /opt/