This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# java shim to execute anything java within a distroless, rootless container | |
# designed for podman 4, breaks with podman 3 because of different --pull syntax | |
# https://iptables.sh | |
set -euo pipefail | |
IMAGE="gcr.io/distroless/java21:nonroot" | |
# check for podman |