fix: install curl and gnupg in Dockerfile to support Redis repository addition

This commit is contained in:
ntohidi
2026-03-21 14:17:27 +08:00
parent 4bf17796d4
commit 29d27ed1ae

View File

@@ -36,6 +36,10 @@ LABEL maintainer="unclecode"
LABEL description="🔥🕷️ Crawl4AI: Open-source LLM Friendly Web Crawler & scraper"
LABEL version="1.0"
# Install curl and gnupg first (needed to add Redis repo)
RUN apt-get update && apt-get install -y --no-install-recommends curl gnupg \
&& rm -rf /var/lib/apt/lists/*
# Add official Redis repository for security-patched versions
RUN curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb bookworm main" \