auth-yes/spire/entrypoint.server.sh
google-labs-jules[bot] 4360d67064 feat: Package generic SPIRE images and simplify compose volume
This implements custom Alpine-based Smart SPIRE Server and Agent Docker
images with self-seeding configuration entrypoints. It also updates
the docker-compose configuration to utilize a single host storage volume
and a dedicated named socket volume. Setup build pipelines are expanded to
compile and push these custom SPIRE images.

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-23 17:20:11 +00:00

14 lines
277 B
Bash
Executable File

#!/bin/sh
set -e
mkdir -p /opt/spire/data/server
if [ ! -f /opt/spire/server.conf ]; then
echo "Writing default SPIRE server.conf..."
cp /etc/spire/templates/server.conf /opt/spire/server.conf
chmod 644 /opt/spire/server.conf
fi
exec /usr/local/bin/spire-server "$@"