mirror of
https://github.com/bitnami/containers.git
synced 2026-03-09 15:40:15 +08:00
8.9.13-debian-10-r63 release
This commit is contained in:
@@ -29,7 +29,7 @@ ENV ALLOW_EMPTY_PASSWORD="no" \
|
||||
APACHE_HTTPS_PORT_NUMBER="" \
|
||||
APACHE_HTTP_PORT_NUMBER="" \
|
||||
BITNAMI_APP_NAME="drupal" \
|
||||
BITNAMI_IMAGE_VERSION="8.9.13-debian-10-r62" \
|
||||
BITNAMI_IMAGE_VERSION="8.9.13-debian-10-r63" \
|
||||
MARIADB_HOST="mariadb" \
|
||||
MARIADB_PORT_NUMBER="3306" \
|
||||
MARIADB_ROOT_PASSWORD="" \
|
||||
|
||||
@@ -106,9 +106,9 @@ is_file_writable() {
|
||||
relativize() {
|
||||
local -r path="${1:?missing path}"
|
||||
local -r base="${2:?missing base}"
|
||||
pushd "$base" >/dev/null
|
||||
pushd "$base" >/dev/null || exit
|
||||
realpath -q --no-symlinks --relative-base="$base" "$path" | sed -e 's|^/$|.|' -e 's|^/||'
|
||||
popd >/dev/null
|
||||
popd >/dev/null || exit
|
||||
}
|
||||
|
||||
########################
|
||||
|
||||
@@ -35,7 +35,7 @@ persist_app() {
|
||||
warn "No files are configured to be persisted"
|
||||
return
|
||||
fi
|
||||
pushd "$install_dir" >/dev/null
|
||||
pushd "$install_dir" >/dev/null || exit
|
||||
local file_to_persist_relative file_to_persist_destination file_to_persist_destination_folder
|
||||
local -r tmp_file="/tmp/perms.acl"
|
||||
for file_to_persist in "${files_to_persist[@]}"; do
|
||||
@@ -53,16 +53,16 @@ persist_app() {
|
||||
ensure_dir_exists "$file_to_persist_destination_folder"
|
||||
cp -Lr --preserve=links "$file_to_persist_relative" "$file_to_persist_destination_folder"
|
||||
# Restore permissions
|
||||
pushd "$persist_dir" >/dev/null
|
||||
pushd "$persist_dir" >/dev/null || exit
|
||||
if am_i_root; then
|
||||
setfacl --restore="$tmp_file"
|
||||
else
|
||||
# When running as non-root, don't change ownership
|
||||
setfacl --restore=<(grep -E -v '^# (owner|group):' "$tmp_file")
|
||||
fi
|
||||
popd >/dev/null
|
||||
popd >/dev/null || exit
|
||||
done
|
||||
popd >/dev/null
|
||||
popd >/dev/null || exit
|
||||
rm -f "$tmp_file"
|
||||
# Install the persisted files into the installation directory, via symlinks
|
||||
restore_persisted_app "$@"
|
||||
|
||||
@@ -42,7 +42,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
||||
|
||||
|
||||
* [`9`, `9-debian-10`, `9.1.5`, `9.1.5-debian-10-r23`, `latest` (9/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal/blob/9.1.5-debian-10-r23/9/debian-10/Dockerfile)
|
||||
* [`8`, `8-debian-10`, `8.9.13`, `8.9.13-debian-10-r62` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal/blob/8.9.13-debian-10-r62/8/debian-10/Dockerfile)
|
||||
* [`8`, `8-debian-10`, `8.9.13`, `8.9.13-debian-10-r63` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal/blob/8.9.13-debian-10-r63/8/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/drupal GitHub repo](https://github.com/bitnami/bitnami-docker-drupal).
|
||||
|
||||
@@ -167,7 +167,6 @@ $ docker network create drupal-network
|
||||
#### Step 2. Create a MariaDB container with host volume
|
||||
|
||||
```console
|
||||
$ docker volume create --name mariadb_data
|
||||
$ docker run -d --name mariadb \
|
||||
--env ALLOW_EMPTY_PASSWORD=yes \
|
||||
--env MARIADB_USER=bn_drupal \
|
||||
@@ -178,10 +177,9 @@ $ docker run -d --name mariadb \
|
||||
bitnami/mariadb:latest
|
||||
```
|
||||
|
||||
#### Step 3. Create the Drupal the container with host volumes
|
||||
#### Step 3. Create the Drupal container with host volumes
|
||||
|
||||
```console
|
||||
$ docker volume create --name drupal_data
|
||||
$ docker run -d --name drupal \
|
||||
-p 8080:8080 -p 8443:8443 \
|
||||
--env ALLOW_EMPTY_PASSWORD=yes \
|
||||
|
||||
Reference in New Issue
Block a user