Docker-Redis/Dockerfile

10 lines
404 B
Docker

# checkov:skip=CKV_DOCKER_3 Redis upstream doesn't care so nor do I.
FROM redis:version
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-redis" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker-redis"
# Add healthcheck
HEALTHCHECK --interval=30s --timeout=3s \
CMD redis-cli PING