4.10.0-debian-10-r2 release

This commit is contained in:
Bitnami Bot
2021-12-10 18:21:26 +00:00
parent f6dae6daa7
commit bba1ce6200
4 changed files with 15 additions and 12 deletions

View File

@@ -22,8 +22,8 @@ RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "dreamfactory" "4
RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/php/postunpack.sh
RUN /opt/bitnami/scripts/apache/postunpack.sh
RUN /opt/bitnami/scripts/php/postunpack.sh
RUN /opt/bitnami/scripts/apache-modphp/postunpack.sh
RUN /opt/bitnami/scripts/dreamfactory/postunpack.sh
RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
@@ -33,7 +33,7 @@ ENV ALLOW_EMPTY_PASSWORD="no" \
APACHE_HTTPS_PORT_NUMBER="" \
APACHE_HTTP_PORT_NUMBER="" \
BITNAMI_APP_NAME="dreamfactory" \
BITNAMI_IMAGE_VERSION="4.10.0-debian-10-r1" \
BITNAMI_IMAGE_VERSION="4.10.0-debian-10-r2" \
MARIADB_HOST="mariadb" \
MARIADB_PORT_NUMBER="3306" \
MARIADB_ROOT_PASSWORD="" \

View File

@@ -20,8 +20,13 @@
owned_by() {
local path="${1:?path is missing}"
local owner="${2:?owner is missing}"
local group="${3:-}"
chown "$owner":"$owner" "$path"
if [[ -n $group ]]; then
chown "$owner":"$group" "$path"
else
chown "$owner":"$owner" "$path"
fi
}
########################
@@ -34,11 +39,12 @@ owned_by() {
#########################
ensure_dir_exists() {
local dir="${1:?directory is missing}"
local owner="${2:-}"
local owner_user="${2:-}"
local owner_group="${3:-}"
mkdir -p "${dir}"
if [[ -n $owner ]]; then
owned_by "$dir" "$owner"
if [[ -n $owner_user ]]; then
owned_by "$dir" "$owner_user" "$owner_group"
fi
}

View File

@@ -160,11 +160,8 @@ postgresql_execute_print_output() {
[[ -n "$db" ]] && args+=("-d" "$db")
[[ "${#opts[@]}" -gt 0 ]] && args+=("${opts[@]}")
# Obtain the command specified via stdin
local sql_cmd
sql_cmd="$(</dev/stdin)"
debug "Executing SQL command:\n$sql_cmd"
PGPASSWORD=$pass psql "${args[@]}" <<<"$sql_cmd"
# Execute the Query/queries from stdin
PGPASSWORD=$pass psql "${args[@]}"
}
########################

View File

@@ -37,7 +37,7 @@ Non-root container images add an extra layer of security and are generally recom
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
- [`4`, `4-debian-10`, `4.10.0`, `4.10.0-debian-10-r1`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-dreamfactory/blob/4.10.0-debian-10-r1/4/debian-10/Dockerfile)
- [`4`, `4-debian-10`, `4.10.0`, `4.10.0-debian-10-r2`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-dreamfactory/blob/4.10.0-debian-10-r2/4/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/dreamfactory GitHub repo](https://github.com/bitnami/bitnami-docker-dreamfactory).