5.0.2-debian-10-r59 release
This commit is contained in:
parent
925ffc479f
commit
9c01b0564a
|
|
@ -8,9 +8,9 @@ COPY prebuildfs /
|
|||
RUN install_packages ca-certificates curl dirmngr gnupg gzip libaudit1 libbsd0 libbz2-1.0 libc6 libcap-ng0 libcom-err2 libcurl4 libexpat1 libffi6 libfftw3-double3 libfontconfig1 libfreetype6 libgcc1 libgcrypt20 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu63 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 liblqr-1-0 libltdl7 liblzma5 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmcrypt4 libmemcached11 libmemcachedutil2 libncurses6 libnettle6 libnghttp2-14 libp11-kit0 libpam0g libpcre3 libpng16-16 libpq5 libpsl5 libreadline7 librtmp1 libsasl2-2 libsqlite3-0 libssh2-1 libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libuuid1 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 libzip4 procps sudo tar zlib1g
|
||||
RUN /build/bitnami-user.sh
|
||||
RUN /build/install-nami.sh
|
||||
RUN bitnami-pkg unpack php-7.3.17-1 --checksum 7dd49d5a720cb3e18373b7089dece825ad06b63acabadef9129ff22128bb26c9
|
||||
RUN bitnami-pkg unpack php-7.3.18-0 --checksum 279b5b626de773d0216749aa8046477015276575f1c2a369ca0b0f054e4a68b5
|
||||
RUN bitnami-pkg unpack apache-2.4.43-1 --checksum 35ad223096be455ce5d11b6006db6d83b5080802cead122bfa5ebebc9d29da61
|
||||
RUN bitnami-pkg install libphp-7.3.17-0 --checksum 6ce3a2e1ac032fa2de1205c5ad14bfa0f3288c23d0c6b960e291d2eae94d363b
|
||||
RUN bitnami-pkg install libphp-7.3.18-0 --checksum f78406a580c26dff8870708eeef383d9ad048a2b43a74160318e37115af4cf74
|
||||
RUN bitnami-pkg install tini-0.19.0-0 --checksum 9a8ae20be31a518f042fcec359f2cf35bfdb4e2a56f2fa8ff9ef2ecaf45da80c
|
||||
RUN bitnami-pkg unpack phpmyadmin-5.0.2-1 --checksum ebc60ec030a0db3b207a5f8d80b237fd989516aa64ac3a9e189188a78fadd026
|
||||
RUN bitnami-pkg install gosu-1.12.0-0 --checksum 582d501eeb6b338a24f417fededbf14295903d6be55c52d66c52e616c81bcd8c
|
||||
|
|
@ -24,7 +24,7 @@ ENV APACHE_ENABLE_CUSTOM_PORTS="no" \
|
|||
APACHE_HTTPS_PORT_NUMBER="443" \
|
||||
APACHE_HTTP_PORT_NUMBER="80" \
|
||||
BITNAMI_APP_NAME="phpmyadmin" \
|
||||
BITNAMI_IMAGE_VERSION="5.0.2-debian-10-r58" \
|
||||
BITNAMI_IMAGE_VERSION="5.0.2-debian-10-r59" \
|
||||
DATABASE_ENABLE_SSL="no" \
|
||||
DATABASE_HOST="mariadb" \
|
||||
DATABASE_PORT_NUMBER="3306" \
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Post-init script to execute PHP files
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
|
||||
readonly f="${1:?missing PHP file}"
|
||||
failure=0
|
||||
|
||||
if [[ "$f" == *".php" ]]; then
|
||||
info "Executing $f with PHP interpreter"
|
||||
php "$f" || failure=$?
|
||||
fi
|
||||
if [[ "$failure" -ne 0 ]]; then
|
||||
error "Failed to execute ${f}"
|
||||
exit "$failure"
|
||||
fi
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Post-init script to execute Shell files
|
||||
|
||||
# shellcheck disable=SC1090,SC1091
|
||||
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
|
||||
readonly f="${1:?missing SHELL file}"
|
||||
failure=0
|
||||
|
||||
if [[ "$f" == *".sh" ]]; then
|
||||
if [[ -x "$f" ]]; then
|
||||
info "Executing $f"; "$f" || failure=$?
|
||||
else
|
||||
info "Sourcing $f"; . "$f"
|
||||
fi
|
||||
fi
|
||||
if [[ "$failure" -ne 0 ]]; then
|
||||
error "Failed to execute ${f}"
|
||||
exit "$failure"
|
||||
fi
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Post-init script to execute SQL files with MySQL client
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
|
||||
readonly f="${1:?missing SQL file}"
|
||||
failure=0
|
||||
|
||||
if [[ "$f" =~ ^.*(\.sql|\.sql\.gz)$ ]]; then
|
||||
info "Executing $f"
|
||||
mysql_cmd=( mysql -h "$MARIADB_HOST" -P "$MARIADB_PORT_NUMBER" -u "$MARIADB_ROOT_USER" )
|
||||
if [[ "${ALLOW_EMPTY_PASSWORD:-no}" != "yes" ]]; then
|
||||
mysql_cmd+=( -p"$MARIADB_ROOT_PASSWORD" )
|
||||
fi
|
||||
if [[ "$f" == *".sql" ]]; then
|
||||
"${mysql_cmd[@]}" < "$f" || failure=$?
|
||||
elif [[ "$f" == *".sql.gz" ]]; then
|
||||
gunzip -c "$f" | "${mysql_cmd[@]}" || failure=$?
|
||||
fi
|
||||
fi
|
||||
if [[ "$failure" -ne 0 ]]; then
|
||||
error "Failed to execute ${f}"
|
||||
exit "$failure"
|
||||
fi
|
||||
|
|
@ -1,78 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
|
||||
if [[ -d /docker-entrypoint-init.d ]] && [[ ! -f "/bitnami/phpmyadmin/.user_scripts_initialized" ]]; then
|
||||
for f in /docker-entrypoint-init.d/*; do
|
||||
failure=0
|
||||
case "$f" in
|
||||
*.sh)
|
||||
if [[ -x "$f" ]]; then
|
||||
info "Executing $f"; "$f" || failure=$?
|
||||
else
|
||||
info "Sourcing $f"; . "$f"
|
||||
fi
|
||||
;;
|
||||
|
||||
*.pl)
|
||||
info "Executing $f with Perl interpreter"
|
||||
perl "$f" || failure=$?
|
||||
;;
|
||||
|
||||
*.php)
|
||||
info "Executing $f with PHP interpreter"
|
||||
php "$f" || failure=$?
|
||||
;;
|
||||
|
||||
*.sql|*.sql.gz)
|
||||
info "Executing $f"
|
||||
if [[ -n "$POSTGRESQL_PASSWORD" ]]; then
|
||||
export PGPASSWORD=$POSTGRESQL_PASSWORD
|
||||
fi
|
||||
if [[ -n "${POSTGRESQL_USER:-}" ]]; then
|
||||
psql=( psql -U $POSTGRESQL_USER )
|
||||
else
|
||||
psql=( psql -U $POSTGRESQL_USERNAME )
|
||||
fi
|
||||
if [[ "$f" == *".sql" ]]; then
|
||||
"${psql[@]}" -f "$f" || failure=$?
|
||||
elif [[ "$f" == *".sql.gz" ]]; then
|
||||
gunzip -c "$f" | "${psql[@]}" || failure=$?
|
||||
fi
|
||||
echo
|
||||
;;
|
||||
|
||||
*.py)
|
||||
info "Executing $f with Python interpreter"
|
||||
python "$f" || failure=$?
|
||||
;;
|
||||
|
||||
*.rb)
|
||||
info "Executing $f with Ruby interpreter"
|
||||
ruby "$f" || failure=$?
|
||||
;;
|
||||
|
||||
*.sql|*.sql.gz)
|
||||
info "Executing $f"
|
||||
mysql_cmd=( mysql -h "$MARIADB_HOST" -P "$MARIADB_PORT_NUMBER" -u "$MARIADB_ROOT_USER" )
|
||||
if [[ "${ALLOW_EMPTY_PASSWORD:-no}" != "yes" ]]; then
|
||||
mysql_cmd+=( -p"$MARIADB_ROOT_PASSWORD" )
|
||||
fi
|
||||
if [[ "$f" == *".sql" ]]; then
|
||||
"${mysql_cmd[@]}" < "$f" || failure=$?
|
||||
elif [[ "$f" == *".sql.gz" ]]; then
|
||||
gunzip -c "$f" | "${mysql_cmd[@]}" || failure=$?
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
info "Ignoring $f"
|
||||
;;
|
||||
esac
|
||||
if [[ "$failure" -ne 0 ]]; then
|
||||
error "Failed to execute $f"
|
||||
exit "$failure"
|
||||
fi
|
||||
for p in /post-init.d/*.sh; do
|
||||
"$p" "$f"
|
||||
done
|
||||
done
|
||||
info "Custom scripts were executed"
|
||||
touch "/bitnami/phpmyadmin/.user_scripts_initialized"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ Bitnami containers can be used with [Kubeapps](https://kubeapps.com/) for deploy
|
|||
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/).
|
||||
|
||||
|
||||
* [`5-debian-10`, `5.0.2-debian-10-r58`, `5`, `5.0.2`, `latest` (5/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-phpmyadmin/blob/5.0.2-debian-10-r58/5/debian-10/Dockerfile)
|
||||
* [`5-debian-10`, `5.0.2-debian-10-r59`, `5`, `5.0.2`, `latest` (5/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-phpmyadmin/blob/5.0.2-debian-10-r59/5/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/phpmyadmin GitHub repo](https://github.com/bitnami/bitnami-docker-phpmyadmin).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue