Skip to content

Commit

Permalink
Merge pull request #60 from ovcharenko-di/fix/edt-2024-debug-jars
Browse files Browse the repository at this point in the history
Независимый от версии EDT поиск jar-файлов для Coverage41C
  • Loading branch information
nixel2007 authored Nov 27, 2024
2 parents c78c41e + 27f06a3 commit fee08b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions coverage41C/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>, 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/
Expand Down

0 comments on commit fee08b4

Please sign in to comment.