[bitnami/neo4j] Release 4.4.12-debian-11-r0 (#10814)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2022-10-20 19:34:12 +02:00
committed by GitHub
parent fe7add7145
commit 7ce96ba567
5 changed files with 30 additions and 39 deletions

View File

@@ -5,11 +5,11 @@ ARG TARGETARCH
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \ org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.ref.name="4.4.11-debian-11-r9" \ org.opencontainers.image.ref.name="4.4.12-debian-11-r0" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/neo4j" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/neo4j" \
org.opencontainers.image.title="neo4j" \ org.opencontainers.image.title="neo4j" \
org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="4.4.11" org.opencontainers.image.version="4.4.12"
ENV HOME="/" \ ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \ OS_ARCH="${TARGETARCH:-amd64}" \
@@ -21,37 +21,29 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install required system packages and dependencies # Install required system packages and dependencies
RUN install_packages ca-certificates curl jq procps zlib1g RUN install_packages ca-certificates curl jq procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
if [ ! -f java-11.0.16-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ COMPONENTS=( \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/java-11.0.16-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ "java-11.0.16-1-linux-${OS_ARCH}-debian-11" \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/java-11.0.16-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ "neo4j-4.4.12-0-linux-${OS_ARCH}-debian-11" \
fi && \ "gosu-1.14.0-155-linux-${OS_ARCH}-debian-11" \
sha256sum -c java-11.0.16-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ ) && \
tar -zxf java-11.0.16-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ for COMPONENT in "${COMPONENTS[@]}"; do \
rm -rf java-11.0.16-0-linux-${OS_ARCH}-debian-11.tar.gz java-11.0.16-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 if [ ! -f "${COMPONENT}.tar.gz" ]; then \
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \
if [ ! -f neo4j-4.4.11-1-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/neo4j-4.4.11-1-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ fi && \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/neo4j-4.4.11-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ sha256sum -c "${COMPONENT}.tar.gz.sha256" && \
fi && \ tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
sha256sum -c neo4j-4.4.11-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \
tar -zxf neo4j-4.4.11-1-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ done
rm -rf neo4j-4.4.11-1-linux-${OS_ARCH}-debian-11.tar.gz neo4j-4.4.11-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 RUN apt-get autoremove --purge -y curl && \
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ apt-get update && apt-get upgrade -y && \
if [ ! -f gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
fi && \
sha256sum -c gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
tar -zxf gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256
RUN apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami RUN chmod g+rwX /opt/bitnami
COPY rootfs / COPY rootfs /
RUN /opt/bitnami/scripts/java/postunpack.sh RUN /opt/bitnami/scripts/java/postunpack.sh
RUN /opt/bitnami/scripts/neo4j/postunpack.sh RUN /opt/bitnami/scripts/neo4j/postunpack.sh
ENV APP_VERSION="4.4.11" \ ENV APP_VERSION="4.4.12" \
BITNAMI_APP_NAME="neo4j" \ BITNAMI_APP_NAME="neo4j" \
JAVA_HOME="/opt/bitnami/java" \ JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/neo4j/bin:/opt/bitnami/common/bin:$PATH" PATH="/opt/bitnami/java/bin:/opt/bitnami/neo4j/bin:/opt/bitnami/common/bin:$PATH"

View File

@@ -1,23 +1,23 @@
{ {
"gosu": { "gosu": {
"arch": "amd64", "arch": "amd64",
"digest": "e36c3d90f4fbfbe989f40947fa7c8ab817f12fcf97d3aef893c753a20ce976ab", "digest": "f21869b27c26b9c3053bce8b419a0fdf1dc45fcf13a7c2058e0afb6996d3687f",
"distro": "debian-11", "distro": "debian-11",
"type": "NAMI", "type": "NAMI",
"version": "1.14.0-154" "version": "1.14.0-155"
}, },
"java": { "java": {
"arch": "amd64", "arch": "amd64",
"digest": "98cbaca6fc1aca76fdbfc11ee57d05924adc956401396375c4be43c5c671dca5", "digest": "c375579c55ee13d9561dcfaeba0338a6c2f5233dc386ead63dbbb67cc974fcdb",
"distro": "debian-11", "distro": "debian-11",
"type": "NAMI", "type": "NAMI",
"version": "11.0.16-0" "version": "11.0.16-1"
}, },
"neo4j": { "neo4j": {
"arch": "amd64", "arch": "amd64",
"digest": "fef494c09911265fc96967532c472e05e432157e3f5b57e2844405dcda7e9455", "digest": "87f96e35638da0d9bfeb70225da213f25d8a836f891dbf52e1a54f915531cb1f",
"distro": "debian-11", "distro": "debian-11",
"type": "NAMI", "type": "NAMI",
"version": "4.4.11-1" "version": "4.4.12-0"
} }
} }

View File

@@ -519,7 +519,7 @@ get_machine_id() {
get_disk_device_id() { get_disk_device_id() {
local device_id="" local device_id=""
if grep -q ^/dev /proc/mounts; then if grep -q ^/dev /proc/mounts; then
device_id="$(grep -q ^/dev /proc/mounts | awk '$2 == "/" { print $1 }' | tail -1)" device_id="$(grep ^/dev /proc/mounts | awk '$2 == "/" { print $1 }' | tail -1)"
fi fi
# If it could not be autodetected, fallback to /dev/sda1 as a default # If it could not be autodetected, fallback to /dev/sda1 as a default
if [[ -z "$device_id" || ! -b "$device_id" ]]; then if [[ -z "$device_id" || ! -b "$device_id" ]]; then
@@ -538,7 +538,7 @@ get_disk_device_id() {
# Root disk ID # Root disk ID
######################### #########################
get_root_disk_device_id() { get_root_disk_device_id() {
get_disk_device_id | sed 's/[0-9]\+$//' get_disk_device_id | sed -E 's/p?[0-9]+$//'
} }
######################## ########################

View File

@@ -1,5 +1,5 @@
rolling-tags: rolling-tags:
- "4" - "4"
- "4-debian-11" - "4-debian-11"
- "4.4.11" - "4.4.12"
- "latest" - "latest"

View File

@@ -36,8 +36,7 @@ You can find the default credentials and available configuration options in the
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/). 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/).
You can see the equivalence between the different tags by taking a look at the `tags-info.yaml` file present in the branch folder, i.e `bitnami/ASSET/BRANCH/DISTRO/tags-info.yaml`.
* [`4`, `4-debian-11`, `4.4.11`, `4.4.11-debian-11-r9`, `latest` (4/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/neo4j/4/debian-11/Dockerfile)
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers). Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).
@@ -300,7 +299,7 @@ $ docker-compose up neo4j
## Contributing ## Contributing
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues), or submit a [pull request](https://github.com/bitnami/containers/pulls) with your contribution. We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.
## Issues ## Issues