Commit Graph

5 Commits

Author SHA1 Message Date
Bitnami Bot c2430e4687
[bitnami/spring-cloud-dataflow-composed-task-runner] Release 2.10.2-debian-11-r13 (#31081)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
2023-04-20 15:25:37 +02:00
Marc Rovner 5439966ea8
[bitnami/java] postunpack.sh should be copying the contents of JAVA_EXTRA_SECURITY_DIR, not the directory itself (#28667)
* java/postunpack.sh should be copying the contents of JAVA_EXTRA_SECURITY_DIR, not the directory

java/postunpack.sh copies the directory pointed to by JAVA_EXTRA_SECURITY_DIR as a subdir of `/opt/bitnami/java/lib/security` directory.

java/postunpack.sh should be coping just the contents of JAVA_EXTRA_SECURITY_DIR to `/opt/bitnami/java/lib/security` directory.

Rather it is copying the finaly directory on the path in JAVA_EXTRA_SECURITY_DIR as a subdir of `/opt/bitname/java/lib/security`

For example, using the default `JAVA_EXTRA_SECURITY_DIR` value "/bitnami/java/extra-security", create the file `rootfs/bitnami/java/extra-security/cacerts`, and build the image, rather than `/opt/bitnami/java/lib/security/cacerts` replaced with the new file, a new subdir `/opt/bitnami/java/lib/security/extra-security` directory is created, with the new `cacerts` file under there.

As a proposed fix for this, change the relevate `cp` commands from
```
   cp -Lr "$JAVA_EXTRA_SECURITY_DIR" /opt/bitnami/java/lib/security
```
to this, by added a `/.` to the end of the source argument:
```
   cp -Lr "$JAVA_EXTRA_SECURITY_DIR/." /opt/bitnami/java/lib/security
```

Signed-off-by: QuirkyMarc <mrovner@panix.com>

* Use braces for env-vars expansion

Signed-off-by: Andrés Bono <andresbono@vmware.com>

---------

Signed-off-by: QuirkyMarc <mrovner@panix.com>
Signed-off-by: Andrés Bono <andresbono@vmware.com>
Co-authored-by: Andrés Bono <andresbono@vmware.com>
2023-04-03 11:44:00 +02:00
Bitnami Bot 0cfbdee5c5
[bitnami/spring-cloud-dataflow-composed-task-runner] Release 2.10.1-debian-11-r4 (#25963)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
2023-03-02 00:04:46 +01:00
Bitnami Bot 19e4b54b47
[bitnami/spring-cloud-dataflow-composed-task-runner] Release 2.9.6-debian-11-r1 (#6880)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
2022-09-18 05:11:33 +00:00
Bitnami Bot 5fd9a2cccf 2.9.4-debian-11-r0 release 2022-06-06 18:46:27 +00:00