You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The newer images (distroless) are missing a shell. This shell is required if a custom entrypoint is defined. In Docker Compose environment this is mandatory to define memberlist .advertise-addr dynamically.
To Reproduce
Use grafana/pyroscope:latest
Expected behavior
Add a shell to the distroless containers or add another "alpine"? based container
services:
pyroscope:
env_file:
- './.env'image: 'grafana/pyroscope:latest'# original behavior# entrypoint: '${PYROSCOPE_CONFIG_PATH}/entrypoint.sh'command:
# current workaround, but may work on my machine
- '-memberlist.advertise-addr=172.17.0.1'
- '-config.file=${PYROSCOPE_CONFIG_PATH}/${PYROSCOPE_CONFIG_FILE}'
- '-config.expand-env=true'volumes:
- '${PYROSCOPE_CONFIG_PATH_LOCAL}:${PYROSCOPE_CONFIG_PATH}'ports:
- '${PYROSCOPE_PORT}:${PYROSCOPE_PORT}/tcp'extra_hosts:
- 'host.docker.internal:host-gateway'
Since we are using as debug/local telemetry stack (alloy, grafana, loki, mimir, pyroscope, tempo) for testing our applications locally, i think releasing a debug image is suitable enough :-)
Describe the bug
The newer images (distroless) are missing a shell. This shell is required if a custom entrypoint is defined. In Docker Compose environment this is mandatory to define memberlist .advertise-addr dynamically.
To Reproduce
Use grafana/pyroscope:latest
Expected behavior
Add a shell to the distroless containers or add another "alpine"? based container
Environment
.env
docker-compose.yml
pyroscope.yaml
entrypoint.sh
Additional information
Same problem also occurs on Mimir, at least they have an alpine dockerfile, but not published.
The text was updated successfully, but these errors were encountered: