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

Commit 27a3254

Browse files
authored
Merge pull request #316 from groeges/release-0.6
Backport latest fixes from master
2 parents 5f7634c + b8d3abc commit 27a3254

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

ci/tekton/stacks-build-task.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ spec:
8080
else
8181
sed -i -e 's/host:/host: $(inputs.params.routeHostname)/' $YAML_FILE
8282
fi
83-
sed -i -e 's/REGISTRY/$(inputs.params.registry)/' $YAML_FILE
84-
sed -i -e 's/NAMESPACE/$(inputs.params.registryNamespace)/' $YAML_FILE
85-
sed -i -e 's/TAG/latest/' $YAML_FILE
86-
sed -i -e "s/DATE/$(date --utc '+%FT%TZ')/" $YAML_FILE
83+
sed -i -e 's|REGISTRY|$(inputs.params.registry)|' $YAML_FILE
84+
sed -i -e 's|NAMESPACE|$(inputs.params.registryNamespace)|' $YAML_FILE
85+
sed -i -e 's|TAG|latest|' $YAML_FILE
86+
sed -i -e "s|DATE|$(date --utc '+%FT%TZ')|" $YAML_FILE
8787
kubectl apply --validate=false -f $YAML_FILE
8888
8989
volumes:

incubator/java-spring-boot2/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ 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+
```
81+
RUN /update.sh --system
82+
```
7983
8084
For more information about UBI see:
8185
[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
@@ -8,7 +8,7 @@ LABEL vendor="Kabanero" \
88

99
# Ensure up to date / patched OS
1010
COPY ./project/update.sh /update.sh
11-
RUN /update.sh --system
11+
RUN /update.sh
1212

1313
RUN groupadd --gid 1000 java_group \
1414
&& 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.24
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)