Commit Graph

4 Commits

Author SHA1 Message Date
Bitnami Bot c8a130e630
[bitnami/ksql] Release 7.3.3-debian-11-r3 (#30936)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
2023-04-19 23:00:17 +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 7fcfdfb9e2
[bitnami/ksql] Release 7.3.2-debian-11-r2 (#26130)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
2023-03-03 18:38:17 +01:00
Bitnami Bot 02dcdc796b
[bitnami/ksql] Release 7.3.0-debian-11-r0 (#13836)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
2022-11-16 07:00:08 +00:00