Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit e5dd829

Browse files
retract spring boot stack image packages update (#707)
* bump spring boot stack spring version to 2.1.12 * retract spring boot stack image packages update
1 parent dc507ec commit e5dd829

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

incubator/java-spring-boot2/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ The stack implementation provides for two Docker image specifications, as stack
7575
7676
The `finalimage` specification determines the image that will be used as the base for the application image. The `baseimage` is used as the base for the stack runtime (a development tool), and also for the "prep" stage of the application image build. By default, as shown above, a Debian image is used for `baseimage` and a Red Hat UBI image is used for `finalimage`.
7777
78-
The stack implementation provides for optionally updating the packages in these images during the Docker build. By default, the UBI base for the `finalimage` is not updated, while the stack image on the other hand does get updated during a build of the stack itself.
78+
The stack implementation provides for optionally updating the packages in these images during the Docker build. By default, packages are not updated in either image. To "turn on" package update, modify the Dockerfile (or Dockerfile-stack) and add the `--system` option to the invocation of `update.sh`.
79+
```
80+
RUN /update.sh --system
81+
```
7982
8083
For more information about UBI see:
8184
[Introducing the Red Hat Universal Base Image](https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image)

incubator/java-spring-boot2/image/Dockerfile-stack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM {{.stack.baseimage}}
22

33
# Ensure up to date / patched OS
44
COPY ./project/update.sh /update.sh
5-
RUN /update.sh --system
5+
RUN /update.sh
66

77
RUN groupadd --gid 1000 java_group \
88
&& useradd --uid 1000 --gid java_group --shell /bin/bash --create-home java_user \

incubator/java-spring-boot2/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Spring Boot®
2-
version: 0.3.27
2+
version: 0.3.28
33
description: Spring Boot using OpenJ9 and Maven
44
license: Apache-2.0
55
language: java

0 commit comments

Comments
 (0)