2.27.0-debian-10-r25 release

This commit is contained in:
Bitnami Bot 2020-06-29 17:51:06 +00:00
parent b9094f9a0f
commit c8de586287
4 changed files with 7 additions and 3 deletions

View File

@ -15,7 +15,7 @@ RUN apt-get update && apt-get upgrade -y && \
RUN /build/bitnami-user.sh
ENV BITNAMI_APP_NAME="git" \
BITNAMI_IMAGE_VERSION="2.27.0-debian-10-r24" \
BITNAMI_IMAGE_VERSION="2.27.0-debian-10-r25" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/git/bin:$PATH"
ENTRYPOINT [ "git" ]

View File

@ -106,7 +106,7 @@ is_file_writable() {
relativize() {
local -r path="${1:?missing path}"
local -r base="${2:?missing base}"
pushd / >/dev/null
pushd "$base" >/dev/null
realpath -q --no-symlinks --relative-base="$base" "$path" | sed -e 's|^/$|.|' -e 's|^/||'
popd >/dev/null
}

View File

@ -39,6 +39,10 @@ persist_app() {
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
if [[ ! -f "$file_to_persist" && ! -d "$file_to_persist" ]]; then
error "Cannot persist '${file_to_persist}' because it does not exist"
return 1
fi
file_to_persist_relative="$(relativize "$file_to_persist" "$install_dir")"
file_to_persist_destination="${persist_dir}/${file_to_persist_relative}"
file_to_persist_destination_folder="$(dirname "$file_to_persist_destination")"

View File

@ -28,7 +28,7 @@ $ docker run --name git bitnami/git:latest
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/).
* [`2-debian-10`, `2.27.0-debian-10-r24`, `2`, `2.27.0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-git/blob/2.27.0-debian-10-r24/2/debian-10/Dockerfile)
* [`2-debian-10`, `2.27.0-debian-10-r25`, `2`, `2.27.0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-git/blob/2.27.0-debian-10-r25/2/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/git GitHub repo](https://github.com/bitnami/bitnami-docker-git).