Skip to content

Commit

Permalink
[bitnami/whereabouts] Release 0.6.2-debian-11-r77 (#47049)
Browse files Browse the repository at this point in the history
Signed-off-by: Bitnami Containers <[email protected]>
  • Loading branch information
bitnami-bot authored Sep 2, 2023
1 parent a7a781a commit 46c6732
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitnami/whereabouts/0/debian-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
24 changes: 24 additions & 0 deletions bitnami/whereabouts/0/debian-11/prebuildfs/usr/sbin/run-script
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 46c6732

Please sign in to comment.