Skip to content

Commit

Permalink
Merge pull request #57 from Segate-ekb/feature/first-bit
Browse files Browse the repository at this point in the history
Бампнул версию джавы для агента оскрипта и добавил локаль в образ edt
  • Loading branch information
nixel2007 authored Nov 22, 2024
2 parents 266aaea + 1c08047 commit 9cf9607
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

## OneScript как Jenkins агент

* oscript поверх library/adoptopenjdk:14-hotspot
* oscript поверх library/eclipse-temurin:17
* jenkins-agent

## Сервер хранилища + Apache
Expand Down
4 changes: 2 additions & 2 deletions build-oscript-k8s-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ docker build \
--pull \
$no_cache_arg \
--build-arg DOCKER_REGISTRY_URL=library \
--build-arg BASE_IMAGE=adoptopenjdk \
--build-arg BASE_TAG=14-hotspot \
--build-arg BASE_IMAGE=eclipse-temurin \
--build-arg BASE_TAG=17 \
-t $DOCKER_REGISTRY_URL/oscript-jdk:latest \
-f oscript/Dockerfile \
$last_arg
Expand Down
8 changes: 4 additions & 4 deletions build-oscript-swarm-agent.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ if %NO_CACHE%=="true" (SET last_arg="--no-cache .") else (SET last_arg=".")

docker build ^
--pull ^
--build-arg DOCKER_REGISTRY_URL=%DOCKER_REGISTRY_URL% ^
--build-arg BASE_IMAGE=onec-client-vnc ^
--build-arg BASE_TAG=%ONEC_VERSION% ^
-t %DOCKER_REGISTRY_URL%/onec-client-vnc-oscript:%ONEC_VERSION% ^
--build-arg DOCKER_REGISTRY_URL=library ^
--build-arg BASE_IMAGE=eclipse-temurin ^
--build-arg BASE_TAG=17 ^
-t %DOCKER_REGISTRY_URL%/oscript-jdk:latest ^
-f oscript/Dockerfile ^
%last_arg%

Expand Down
4 changes: 2 additions & 2 deletions build-oscript-swarm-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ docker build \
--pull \
$no_cache_arg \
--build-arg DOCKER_REGISTRY_URL=library \
--build-arg BASE_IMAGE=adoptopenjdk \
--build-arg BASE_TAG=14-hotspot \
--build-arg BASE_IMAGE=eclipse-temurin \
--build-arg BASE_TAG=17 \
-t $DOCKER_REGISTRY_URL/oscript-jdk:latest \
-f oscript/Dockerfile \
$last_arg
Expand Down
3 changes: 3 additions & 0 deletions edt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ RUN apt-get update \
ARG EDT_VERSION=2021.3
ARG downloads=downloads/DevelopmentTools10/${EDT_VERSION}

# Установка переменных окружения для корректной работы локали
ENV LANG ru_RU.UTF-8
ENV LANGUAGE ru_RU:ru
ENV LC_ALL ru_RU.UTF-8

# Install EDT
COPY --from=downloader /tmp/${downloads} /tmp/${downloads}
Expand Down

0 comments on commit 9cf9607

Please sign in to comment.