forked from jugatsu/onec-docker
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from ovcharenko-di/fix/edt-2024-debug-jars
Независимый от версии EDT поиск jar-файлов для Coverage41C
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/ | ||
|