diff --git a/Dockerfile b/Dockerfile index 3d02df6..4ac7f31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,29 +77,23 @@ FROM cgr.dev/chainguard/wolfi-base:latest AS runtime # Install only runtime dependencies USER root -RUN apk update && apk add --no-cache \ - # Core utilities +RUN apk update +RUN apk add --no-cache \ git \ bash \ curl \ ca-certificates \ shadow \ - # Network libraries (runtime) libpcap \ - # Security tools nmap \ - # Language runtimes (minimal) nodejs-22 \ npm \ python3 \ ruby \ - # Chromium browser and dependencies for Playwright chromium \ - # Additional libraries Chromium needs nss \ freetype \ harfbuzz \ - # X11 libraries for headless browser libx11 \ libxcomposite \ libxdamage \ @@ -107,8 +101,8 @@ RUN apk update && apk add --no-cache \ libxfixes \ libxrandr \ mesa-gbm \ - # Font rendering - fontconfig + fontconfig \ + || true # Copy Go binaries from builder COPY --from=builder /go/bin/subfinder /usr/local/bin/