Add local docker-lib.sh file when building CI images
Closes gh-15058
This commit is contained in:
@@ -24,7 +24,7 @@ RUN curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_V
|
||||
mv entrykit /bin/entrykit && \
|
||||
entrykit --symlink
|
||||
|
||||
ADD https://raw.githubusercontent.com/spring-projects/spring-boot/master/ci/images/docker-lib.sh /docker-lib.sh
|
||||
ADD docker-lib.sh /docker-lib.sh
|
||||
|
||||
ENTRYPOINT [ \
|
||||
"switch", \
|
||||
|
||||
@@ -24,7 +24,7 @@ RUN curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_V
|
||||
mv entrykit /bin/entrykit && \
|
||||
entrykit --symlink
|
||||
|
||||
ADD https://raw.githubusercontent.com/spring-projects/spring-boot/master/ci/images/docker-lib.sh /docker-lib.sh
|
||||
ADD docker-lib.sh /docker-lib.sh
|
||||
|
||||
ENTRYPOINT [ \
|
||||
"switch", \
|
||||
|
||||
@@ -24,7 +24,7 @@ RUN curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_V
|
||||
mv entrykit /bin/entrykit && \
|
||||
entrykit --symlink
|
||||
|
||||
ADD https://raw.githubusercontent.com/spring-projects/spring-boot/master/ci/images/docker-lib.sh /docker-lib.sh
|
||||
ADD docker-lib.sh /docker-lib.sh
|
||||
|
||||
ENTRYPOINT [ \
|
||||
"switch", \
|
||||
|
||||
@@ -119,13 +119,16 @@ jobs:
|
||||
trigger: true
|
||||
- put: spring-boot-ci-image
|
||||
params:
|
||||
build: ci-images-git-repo/ci/images/spring-boot-ci-image
|
||||
build: ci-images-git-repo/ci/images
|
||||
dockerfile: spring-boot-ci-image/Dockerfile
|
||||
- put: spring-boot-jdk9-ci-image
|
||||
params:
|
||||
build: ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image
|
||||
build: ci-images-git-repo/ci/images
|
||||
dockerfile: spring-boot-jdk9-ci-image/Dockerfile
|
||||
- put: spring-boot-jdk10-ci-image
|
||||
params:
|
||||
build: ci-images-git-repo/ci/images/spring-boot-jdk10-ci-image
|
||||
build: ci-images-git-repo/ci/images
|
||||
dockerfile: spring-boot-jdk10-ci-image/Dockerfile
|
||||
- name: build
|
||||
serial: true
|
||||
public: true
|
||||
|
||||
Reference in New Issue
Block a user