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 #53 from ovcharenko-di/feature/1cedtcli_edt2024
Поддержка 1cedtcli и переход на базовый образ с JDK 17 для EDT 2024.1.0+
- Loading branch information
Showing
4 changed files
with
40 additions
and
4 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
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
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
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 |
---|---|---|
|
@@ -38,7 +38,7 @@ ENV LC_ALL ru_RU.UTF-8 | |
|
||
RUN /download.sh "$ONEC_USERNAME" "$ONEC_PASSWORD" "$EDT_VERSION" "edt" | ||
|
||
FROM ${DOCKER_REGISTRY_URL}/${BASE_IMAGE}:${BASE_TAG} | ||
FROM ${BASE_IMAGE}:${BASE_TAG} | ||
|
||
LABEL maintainer="Nikita Gryzlov <[email protected]>, FirstBit" | ||
|
||
|
@@ -70,6 +70,8 @@ WORKDIR /tmp/${downloads} | |
RUN chmod +x ./1ce-installer-cli \ | ||
&& ./1ce-installer-cli install all --ignore-hardware-checks --ignore-signature-warnings\ | ||
&& rm -rf /tmp/* \ | ||
&& mv $(dirname $(find /opt/1C/1CE -name ring)) /opt/1C/1CE/components/1c-enterprise-ring | ||
&& mv $(dirname $(find /opt/1C/1CE -name ring)) /opt/1C/1CE/components/1c-enterprise-ring \ | ||
#1cedtcli отсутствует в EDT версии <2023.1.0 | ||
&& if [ -n "$(find /opt/1C/1CE -name 1cedtcli)" ]; then mv $(dirname $(find /opt/1C/1CE -name 1cedtcli)) /opt/1C/1CE/components/1cedtcli; fi | ||
|
||
ENV PATH="/opt/1C/1CE/components/1c-enterprise-ring:$PATH" | ||
ENV PATH="/opt/1C/1CE/components/1c-enterprise-ring:/opt/1C/1CE/components/1cedtcli:$PATH" |