From 46c6732249636823fee7af99d3bad91ca13d5c58 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Sat, 2 Sep 2023 08:00:02 +0200 Subject: [PATCH] [bitnami/whereabouts] Release 0.6.2-debian-11-r77 (#47049) Signed-off-by: Bitnami Containers --- bitnami/whereabouts/0/debian-11/Dockerfile | 4 ++-- .../debian-11/prebuildfs/usr/sbin/run-script | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100755 bitnami/whereabouts/0/debian-11/prebuildfs/usr/sbin/run-script diff --git a/bitnami/whereabouts/0/debian-11/Dockerfile b/bitnami/whereabouts/0/debian-11/Dockerfile index a0685c58ac4ec..6d1407e5a3f6c 100644 --- a/bitnami/whereabouts/0/debian-11/Dockerfile +++ b/bitnami/whereabouts/0/debian-11/Dockerfile @@ -7,10 +7,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-08-28T07:06:42Z" \ + org.opencontainers.image.created="2023-09-01T19:49:22Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="0.6.2-debian-11-r74" \ + org.opencontainers.image.ref.name="0.6.2-debian-11-r77" \ org.opencontainers.image.title="whereabouts" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="0.6.2" diff --git a/bitnami/whereabouts/0/debian-11/prebuildfs/usr/sbin/run-script b/bitnami/whereabouts/0/debian-11/prebuildfs/usr/sbin/run-script new file mode 100755 index 0000000000000..4ca0f897277eb --- /dev/null +++ b/bitnami/whereabouts/0/debian-11/prebuildfs/usr/sbin/run-script @@ -0,0 +1,24 @@ +#!/bin/sh +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 +set -u + +if [ $# -eq 0 ]; then + >&2 echo "No arguments provided" + exit 1 +fi + +script=$1 +exit_code="${2:-96}" +fail_if_not_present="${3:-n}" + +if test -f "$script"; then + sh $script + + if [ $? -ne 0 ]; then + exit $((exit_code)) + fi +elif [ "$fail_if_not_present" = "y" ]; then + >&2 echo "script not found: $script" + exit 127 +fi