-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat: add windows images for LTSC 2019 #1020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d0fba3c
feat: add windows images for LTSC 2019
garethjevans 89ada4f
Merge remote-tracking branch 'origin/master' into ltsc2019
garethjevans 0550e6a
Merge remote-tracking branch 'origin/master' into ltsc2019
garethjevans 51b6992
Merge remote-tracking branch 'origin/master' into ltsc2019
garethjevans a37cc7f
chore: increase timeout to 100m
garethjevans fbe1e21
chore: uncomment shared cache block
garethjevans 7585c6c
Merge remote-tracking branch 'origin/master' into ltsc2019
garethjevans 879669a
chore: removed unused docker file
garethjevans 0b5ea7b
Merge remote-tracking branch 'origin/master' into ltsc2019
garethjevans 6d4032b
chore: bump plugin manager to 2.1.2
garethjevans 10606fb
Merge remote-tracking branch 'origin/master' into ltsc2019
garethjevans bab123b
chore: bump plugin manager to 2.2.0
garethjevans 738bc3e
Merge remote-tracking branch 'origin/master' into ltsc2019
garethjevans File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# escape=` | ||
FROM jenkins4eval/openjdk:11-hotspot-windowsservercore-ltsc2019 | ||
|
||
ARG user=jenkins | ||
ARG http_port=8080 | ||
ARG agent_port=50000 | ||
ARG JENKINS_HOME=C:/ProgramData/Jenkins/JenkinsHome | ||
|
||
ENV JENKINS_HOME $JENKINS_HOME | ||
ENV JENKINS_AGENT_PORT ${agent_port} | ||
|
||
# Jenkins home directory is a volume, so configuration and build history | ||
# can be persisted and survive image upgrades | ||
VOLUME $JENKINS_HOME | ||
|
||
# Jenkins is run with user `jenkins` | ||
# If you bind mount a volume from the host or a data container, | ||
# ensure you use the same uid | ||
RUN New-LocalUser -Name $env:user -AccountNeverExpires -Description 'Jenkins User' -NoPassword -UserMayNotChangePassword | Out-Null ; ` | ||
Set-Localuser -Name $env:user -PasswordNeverExpires $true | Out-Null ; ` | ||
Add-LocalGroupMember -Group "Administrators" -Member "${env:user}" ; ` | ||
New-Item -Type Directory -Force -Path "C:/ProgramData/Jenkins" | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /setowner ${env:user} | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /inheritance:r | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /grant:r $('{0}:(CI)(OI)(F)' -f $env:user) /grant 'Administrators:(CI)(OI)(F)' | Out-Null ; ` | ||
icacls.exe "$env:JENKINS_HOME" /setowner ${env:user} | Out-Null ; ` | ||
icacls.exe "$env:JENKINS_HOME" /grant:r $('{0}:(CI)(OI)(F)' -f $env:user) /grant 'Administrators:(CI)(OI)(F)' | Out-Null | ||
|
||
USER ${user} | ||
|
||
# `C:/ProgramData/Jenkins/Reference/` contains all reference configuration we want | ||
# to set on a fresh new installation. Use it to bundle additional plugins | ||
# or config file with your custom jenkins Docker image. | ||
RUN New-Item -ItemType Directory -Force -Path C:/ProgramData/Jenkins/Reference/init.groovy.d | Out-Null | ||
|
||
# jenkins version being bundled in this docker image | ||
ARG JENKINS_VERSION | ||
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.235.4} | ||
|
||
# jenkins.war checksum, download will be validated using it | ||
ARG JENKINS_SHA=e5688a8f07cc3d79ba3afa3cab367d083dd90daab77cebd461ba8e83a1e3c177 | ||
|
||
# Can be used to customize where jenkins.war get downloaded from | ||
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war | ||
|
||
# could use ADD but this one does not check Last-Modified header neither does it allow to control checksum | ||
# see https://github.com/docker/docker/issues/8331 | ||
RUN curl.exe -fsSL "$env:JENKINS_URL" -o C:/ProgramData/Jenkins/jenkins.war ; ` | ||
if ((Get-FileHash C:/ProgramData/Jenkins/jenkins.war -Algorithm SHA256).Hash -ne $env:JENKINS_SHA) {exit 1} | ||
|
||
ENV JENKINS_UC https://updates.jenkins.io | ||
ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental | ||
ENV JENKINS_INCREMENTALS_REPO_MIRROR=https://repo.jenkins-ci.org/incrementals | ||
|
||
ARG PLUGIN_CLI_URL=https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.1.1/jenkins-plugin-manager-2.1.1.jar | ||
RUN curl.exe -fsSL "$env:PLUGIN_CLI_URL" -o C:/ProgramData/Jenkins/jenkins-plugin-manager.jar | ||
|
||
# for main web interface: | ||
EXPOSE ${http_port} | ||
|
||
# will be used by attached agents: | ||
EXPOSE ${agent_port} | ||
|
||
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log | ||
|
||
COPY jenkins-support.psm1 C:/ProgramData/Jenkins | ||
COPY jenkins.ps1 C:/ProgramData/Jenkins | ||
# See https://github.com/jenkinsci/plugin-installation-manager-tool#cli-options for information on parameters for jenkins-plugin-cli.ps1 for installing plugins into the docker image | ||
COPY jenkins-plugin-cli.ps1 C:/ProgramData/Jenkins | ||
|
||
ENTRYPOINT ["powershell.exe", "-f", "C:/ProgramData/Jenkins/jenkins.ps1"] |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# escape=` | ||
FROM jenkins4eval/openjdk:11-openj9-windowsservercore-ltsc2019 | ||
|
||
ARG user=jenkins | ||
ARG http_port=8080 | ||
ARG agent_port=50000 | ||
ARG JENKINS_HOME=C:/ProgramData/Jenkins/JenkinsHome | ||
|
||
ENV JENKINS_HOME $JENKINS_HOME | ||
ENV JENKINS_AGENT_PORT ${agent_port} | ||
|
||
# Jenkins home directory is a volume, so configuration and build history | ||
# can be persisted and survive image upgrades | ||
VOLUME $JENKINS_HOME | ||
|
||
# Jenkins is run with user `jenkins` | ||
# If you bind mount a volume from the host or a data container, | ||
# ensure you use the same uid | ||
RUN New-LocalUser -Name $env:user -AccountNeverExpires -Description 'Jenkins User' -NoPassword -UserMayNotChangePassword | Out-Null ; ` | ||
Set-Localuser -Name $env:user -PasswordNeverExpires $true | Out-Null ; ` | ||
Add-LocalGroupMember -Group "Administrators" -Member "${env:user}" ; ` | ||
New-Item -Type Directory -Force -Path "C:/ProgramData/Jenkins" | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /setowner ${env:user} | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /inheritance:r | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /grant:r $('{0}:(CI)(OI)(F)' -f $env:user) /grant 'Administrators:(CI)(OI)(F)' | Out-Null ; ` | ||
icacls.exe "$env:JENKINS_HOME" /setowner ${env:user} | Out-Null ; ` | ||
icacls.exe "$env:JENKINS_HOME" /grant:r $('{0}:(CI)(OI)(F)' -f $env:user) /grant 'Administrators:(CI)(OI)(F)' | Out-Null | ||
|
||
USER ${user} | ||
|
||
# `C:/ProgramData/Jenkins/Reference/` contains all reference configuration we want | ||
# to set on a fresh new installation. Use it to bundle additional plugins | ||
# or config file with your custom jenkins Docker image. | ||
RUN New-Item -ItemType Directory -Force -Path C:/ProgramData/Jenkins/Reference/init.groovy.d | Out-Null | ||
|
||
# jenkins version being bundled in this docker image | ||
ARG JENKINS_VERSION | ||
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.235.4} | ||
|
||
# jenkins.war checksum, download will be validated using it | ||
ARG JENKINS_SHA=e5688a8f07cc3d79ba3afa3cab367d083dd90daab77cebd461ba8e83a1e3c177 | ||
|
||
# Can be used to customize where jenkins.war get downloaded from | ||
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war | ||
|
||
# could use ADD but this one does not check Last-Modified header neither does it allow to control checksum | ||
# see https://github.com/docker/docker/issues/8331 | ||
RUN curl.exe -fsSL "$env:JENKINS_URL" -o C:/ProgramData/Jenkins/jenkins.war ; ` | ||
if ((Get-FileHash C:/ProgramData/Jenkins/jenkins.war -Algorithm SHA256).Hash -ne $env:JENKINS_SHA) {exit 1} | ||
|
||
ENV JENKINS_UC https://updates.jenkins.io | ||
ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental | ||
ENV JENKINS_INCREMENTALS_REPO_MIRROR=https://repo.jenkins-ci.org/incrementals | ||
|
||
ARG PLUGIN_CLI_URL=https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.1.1/jenkins-plugin-manager-2.1.1.jar | ||
RUN curl.exe -fsSL "$env:PLUGIN_CLI_URL" -o C:/ProgramData/Jenkins/jenkins-plugin-manager.jar | ||
|
||
# for main web interface: | ||
EXPOSE ${http_port} | ||
|
||
# will be used by attached agents: | ||
EXPOSE ${agent_port} | ||
|
||
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log | ||
|
||
# set variables to create shared class cache | ||
ENV JAVA_SCC_OPTS "-Xshareclasses:name=jenkins_scc,cacheDir=C:/tmp,enableBCI -Xscmx80M" | ||
ENV JAVA_OLD_OPTS ${JAVA_OPTS} | ||
ENV JAVA_OPTS "${JAVA_SCC_OPTS} ${JAVA_OPTS}" | ||
|
||
# create shared class cache | ||
RUN $j = Start-Job -ScriptBlock { & C:/ProgramData/Jenkins/jenkins.ps1 } ; Start-Sleep -Seconds 120 ; Stop-Job $j | ||
|
||
# revert JAVA_OPTS to not have shared class cache | ||
ENV JAVA_SCC_OPTS "-Xshareclasses:name=jenkins_scc,cacheDir=C:/tmp,readonly" | ||
ENV JAVA_OPTS "${JAVA_SCC_OPTS} ${JAVA_OLD_OPTS}" | ||
|
||
COPY jenkins-support.psm1 C:/ProgramData/Jenkins | ||
COPY jenkins.ps1 C:/ProgramData/Jenkins | ||
# See https://github.com/jenkinsci/plugin-installation-manager-tool#cli-options for information on parameters for jenkins-plugin-cli.ps1 for installing plugins into the docker image | ||
COPY jenkins-plugin-cli.ps1 C:/ProgramData/Jenkins | ||
|
||
ENTRYPOINT ["powershell.exe", "-f", "C:/ProgramData/Jenkins/jenkins.ps1"] |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# escape=` | ||
FROM jenkins4eval/openjdk:8-hotspot-windowsservercore-ltsc2019 | ||
|
||
ARG user=jenkins | ||
ARG http_port=8080 | ||
ARG agent_port=50000 | ||
ARG JENKINS_HOME=C:/ProgramData/Jenkins/JenkinsHome | ||
|
||
ENV JENKINS_HOME $JENKINS_HOME | ||
ENV JENKINS_AGENT_PORT ${agent_port} | ||
|
||
# Jenkins home directory is a volume, so configuration and build history | ||
# can be persisted and survive image upgrades | ||
VOLUME $JENKINS_HOME | ||
|
||
# Jenkins is run with user `jenkins` | ||
# If you bind mount a volume from the host or a data container, | ||
# ensure you use the same uid | ||
RUN New-LocalUser -Name $env:user -AccountNeverExpires -Description 'Jenkins User' -NoPassword -UserMayNotChangePassword | Out-Null ; ` | ||
Set-Localuser -Name $env:user -PasswordNeverExpires $true | Out-Null ; ` | ||
Add-LocalGroupMember -Group "Administrators" -Member "${env:user}" ; ` | ||
New-Item -Type Directory -Force -Path "C:/ProgramData/Jenkins" | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /setowner ${env:user} | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /inheritance:r | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /grant:r $('{0}:(CI)(OI)(F)' -f $env:user) /grant 'Administrators:(CI)(OI)(F)' | Out-Null ; ` | ||
icacls.exe "$env:JENKINS_HOME" /setowner ${env:user} | Out-Null ; ` | ||
icacls.exe "$env:JENKINS_HOME" /grant:r $('{0}:(CI)(OI)(F)' -f $env:user) /grant 'Administrators:(CI)(OI)(F)' | Out-Null | ||
|
||
USER ${user} | ||
|
||
# `C:/ProgramData/Jenkins/Reference/` contains all reference configuration we want | ||
# to set on a fresh new installation. Use it to bundle additional plugins | ||
# or config file with your custom jenkins Docker image. | ||
RUN New-Item -ItemType Directory -Force -Path C:/ProgramData/Jenkins/Reference/init.groovy.d | Out-Null | ||
|
||
# jenkins version being bundled in this docker image | ||
ARG JENKINS_VERSION | ||
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.235.4} | ||
|
||
# jenkins.war checksum, download will be validated using it | ||
ARG JENKINS_SHA=e5688a8f07cc3d79ba3afa3cab367d083dd90daab77cebd461ba8e83a1e3c177 | ||
|
||
# Can be used to customize where jenkins.war get downloaded from | ||
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war | ||
|
||
# could use ADD but this one does not check Last-Modified header neither does it allow to control checksum | ||
# see https://github.com/docker/docker/issues/8331 | ||
RUN curl.exe -fsSL "$env:JENKINS_URL" -o C:/ProgramData/Jenkins/jenkins.war ; ` | ||
if ((Get-FileHash C:/ProgramData/Jenkins/jenkins.war -Algorithm SHA256).Hash -ne $env:JENKINS_SHA) {exit 1} | ||
|
||
ENV JENKINS_UC https://updates.jenkins.io | ||
ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental | ||
ENV JENKINS_INCREMENTALS_REPO_MIRROR=https://repo.jenkins-ci.org/incrementals | ||
|
||
ARG PLUGIN_CLI_URL=https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.1.1/jenkins-plugin-manager-2.1.1.jar | ||
RUN curl.exe -fsSL "$env:PLUGIN_CLI_URL" -o C:/ProgramData/Jenkins/jenkins-plugin-manager.jar | ||
|
||
# for main web interface: | ||
EXPOSE ${http_port} | ||
|
||
# will be used by attached agents: | ||
EXPOSE ${agent_port} | ||
|
||
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log | ||
|
||
COPY jenkins-support.psm1 C:/ProgramData/Jenkins | ||
COPY jenkins.ps1 C:/ProgramData/Jenkins | ||
# See https://github.com/jenkinsci/plugin-installation-manager-tool#cli-options for information on parameters for jenkins-plugin-cli.ps1 for installing plugins into the docker image | ||
COPY jenkins-plugin-cli.ps1 C:/ProgramData/Jenkins | ||
ENTRYPOINT ["powershell.exe", "-f", "C:/ProgramData/Jenkins/jenkins.ps1"] |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# escape=` | ||
FROM jenkins4eval/openjdk:8-openj9-windowsservercore-ltsc2019 | ||
|
||
ARG user=jenkins | ||
ARG http_port=8080 | ||
ARG agent_port=50000 | ||
ARG JENKINS_HOME=C:/ProgramData/Jenkins/JenkinsHome | ||
|
||
ENV JENKINS_HOME $JENKINS_HOME | ||
ENV JENKINS_AGENT_PORT ${agent_port} | ||
|
||
# Jenkins home directory is a volume, so configuration and build history | ||
# can be persisted and survive image upgrades | ||
VOLUME $JENKINS_HOME | ||
|
||
# Jenkins is run with user `jenkins` | ||
# If you bind mount a volume from the host or a data container, | ||
# ensure you use the same uid | ||
RUN New-LocalUser -Name $env:user -AccountNeverExpires -Description 'Jenkins User' -NoPassword -UserMayNotChangePassword | Out-Null ; ` | ||
Set-Localuser -Name $env:user -PasswordNeverExpires $true | Out-Null ; ` | ||
Add-LocalGroupMember -Group "Administrators" -Member "${env:user}" ; ` | ||
New-Item -Type Directory -Force -Path "C:/ProgramData/Jenkins" | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /setowner ${env:user} | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /inheritance:r | Out-Null ; ` | ||
icacls.exe "C:/ProgramData/Jenkins" /grant:r $('{0}:(CI)(OI)(F)' -f $env:user) /grant 'Administrators:(CI)(OI)(F)' | Out-Null ; ` | ||
icacls.exe "$env:JENKINS_HOME" /setowner ${env:user} | Out-Null ; ` | ||
icacls.exe "$env:JENKINS_HOME" /grant:r $('{0}:(CI)(OI)(F)' -f $env:user) /grant 'Administrators:(CI)(OI)(F)' | Out-Null | ||
|
||
USER ${user} | ||
|
||
# `C:/ProgramData/Jenkins/Reference/` contains all reference configuration we want | ||
# to set on a fresh new installation. Use it to bundle additional plugins | ||
# or config file with your custom jenkins Docker image. | ||
RUN New-Item -ItemType Directory -Force -Path C:/ProgramData/Jenkins/Reference/init.groovy.d | Out-Null | ||
|
||
# jenkins version being bundled in this docker image | ||
ARG JENKINS_VERSION | ||
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.235.4} | ||
|
||
# jenkins.war checksum, download will be validated using it | ||
ARG JENKINS_SHA=e5688a8f07cc3d79ba3afa3cab367d083dd90daab77cebd461ba8e83a1e3c177 | ||
|
||
# Can be used to customize where jenkins.war get downloaded from | ||
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war | ||
|
||
# could use ADD but this one does not check Last-Modified header neither does it allow to control checksum | ||
# see https://github.com/docker/docker/issues/8331 | ||
RUN curl.exe -fsSL "$env:JENKINS_URL" -o C:/ProgramData/Jenkins/jenkins.war ; ` | ||
if ((Get-FileHash C:/ProgramData/Jenkins/jenkins.war -Algorithm SHA256).Hash -ne $env:JENKINS_SHA) {exit 1} | ||
|
||
ENV JENKINS_UC https://updates.jenkins.io | ||
ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental | ||
ENV JENKINS_INCREMENTALS_REPO_MIRROR=https://repo.jenkins-ci.org/incrementals | ||
|
||
ARG PLUGIN_CLI_URL=https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.1.1/jenkins-plugin-manager-2.1.1.jar | ||
RUN curl.exe -fsSL "$env:PLUGIN_CLI_URL" -o C:/ProgramData/Jenkins/jenkins-plugin-manager.jar | ||
|
||
# for main web interface: | ||
EXPOSE ${http_port} | ||
|
||
# will be used by attached agents: | ||
EXPOSE ${agent_port} | ||
|
||
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log | ||
|
||
COPY jenkins-support.psm1 C:/ProgramData/Jenkins | ||
COPY jenkins.ps1 C:/ProgramData/Jenkins | ||
# See https://github.com/jenkinsci/plugin-installation-manager-tool#cli-options for information on parameters for jenkins-plugin-cli.ps1 for installing plugins into the docker image | ||
COPY jenkins-plugin-cli.ps1 C:/ProgramData/Jenkins | ||
|
||
# set variables to create shared class cache | ||
ENV JAVA_SCC_OPTS "-Xshareclasses:name=jenkins_scc,cacheDir=C:/tmp,enableBCI -Xscmx80M" | ||
ENV JAVA_OLD_OPTS ${JAVA_OPTS} | ||
ENV JAVA_OPTS "${JAVA_SCC_OPTS} ${JAVA_OPTS}" | ||
|
||
# create shared class cache | ||
RUN $j = Start-Job -ScriptBlock { powershell -f C:/ProgramData/Jenkins/jenkins.ps1 | Out-Default } ; Start-Sleep -Seconds 45 ; Stop-Job $j | ||
|
||
# revert JAVA_OPTS to not have shared class cache | ||
ENV JAVA_SCC_OPTS "-Xshareclasses:name=jenkins_scc,cacheDir=C:/tmp,readonly" | ||
ENV JAVA_OPTS "${JAVA_SCC_OPTS} ${JAVA_OLD_OPTS}" | ||
|
||
ENTRYPOINT ["powershell.exe", "-f", "C:/ProgramData/Jenkins/jenkins.ps1"] |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we pretending that
jenkins4eval
is "unofficial" if we end up just repackaging it intojenkins
images?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daniel-beck these images are not yet published by AdoptOpenJDK, there is an open PR for this but we've had little progress in getting it merged. When AdoptOpenJDK start supporting these base images we can remove these.
Would you prefer these were published under a different org? I'm not entirely sure what you are recommending here.
For reference - AdoptOpenJDK/openjdk-docker#365