litellm-proxy (sha256:f6725ab572b95578081fe5d15f6132bf0be6131501078cdf54135ad4cec30167)

Published 2026-04-05 21:41:27 -04:00 by simcop2387

Installation

docker pull forgejo.simcop2387.info/simcop2387/litellm-proxy@sha256:f6725ab572b95578081fe5d15f6132bf0be6131501078cdf54135ad4cec30167
sha256:f6725ab572b95578081fe5d15f6132bf0be6131501078cdf54135ad4cec30167

Image layers

apko
apko
apko
apko
apko
apko
apko
apko
apko
apko
apko
USER root
RUN /bin/sh -c apk add --no-cache bash openssl tzdata nodejs npm python3 py3-pip libsndfile && npm install -g npm@11.12.1 tar@7.5.11 glob@11.1.0 @isaacs/brace-expansion@5.0.1 minimatch@10.2.4 diff@8.0.3 && GLOBAL="$(npm root -g)" && find "$GLOBAL/npm" -type d -name "tar" -path "*/node_modules/tar" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/tar" "$d"; done && find "$GLOBAL/npm" -type d -name "glob" -path "*/node_modules/glob" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/glob" "$d"; done && find "$GLOBAL/npm" -type d -name "brace-expansion" -path "*/node_modules/@isaacs/brace-expansion" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/@isaacs/brace-expansion" "$d"; done && find "$GLOBAL/npm" -type d -name "minimatch" -path "*/node_modules/minimatch" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/minimatch" "$d"; done && find "$GLOBAL/npm" -type d -name "diff" -path "*/node_modules/diff" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/diff" "$d"; done && find /usr/local/lib /usr/lib -path "*/node_modules/npm/package.json" -exec sed -i 's/"tar": "\^7\.5\.[0-9]*"/"tar": "^7.5.10"/g; s/"minimatch": "\^10\.[0-9.]*"/"minimatch": "^10.2.4"/g' {} + 2>/dev/null && npm cache clean --force && { apk del --no-cache npm 2>/dev/null || true; } # buildkit
WORKDIR /app
COPY . . # buildkit
RUN /bin/sh -c ls -la /app # buildkit
COPY /app/dist/*.whl . # buildkit
COPY /wheels/ /wheels/ # buildkit
RUN /bin/sh -c pip install *.whl /wheels/* --no-index --find-links=/wheels/ --no-deps && rm -f *.whl && rm -rf /wheels # buildkit
RUN /bin/sh -c NODEJS_WHEEL_NODE=$(find /usr/lib -path "*/nodejs_wheel/bin/node" 2>/dev/null) && if [ -n "$NODEJS_WHEEL_NODE" ]; then cp /usr/bin/node "$NODEJS_WHEEL_NODE"; fi # buildkit
RUN /bin/sh -c find /usr/lib -type f -path "*/tornado/test/*" -delete && find /usr/lib -type d -path "*/tornado/test" -delete # buildkit
RUN /bin/sh -c GLOBAL="$(npm root -g)" && [ -n "$GLOBAL" ] || { echo "ERROR: npm root -g returned empty; aborting"; exit 1; } && find /usr/lib -type d -name "tar" -path "*/node_modules/tar" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/tar" "$d"; done && find /usr/lib -type d -name "glob" -path "*/node_modules/glob" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/glob" "$d"; done && find /usr/lib -type d -name "brace-expansion" -path "*/node_modules/@isaacs/brace-expansion" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/@isaacs/brace-expansion" "$d"; done && find /usr/lib -type d -name "minimatch" -path "*/node_modules/minimatch" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/minimatch" "$d"; done && find /usr/lib -type d -name "diff" -path "*/node_modules/diff" | while read d; do rm -rf "$d" && cp -rL "$GLOBAL/diff" "$d"; done # buildkit
RUN /bin/sh -c sed -i 's/\r$//' docker/install_auto_router.sh && chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.sh # buildkit
RUN /bin/sh -c prisma generate --schema=./litellm/proxy/schema.prisma # buildkit
RUN /bin/sh -c sed -i 's/\r$//' docker/entrypoint.sh && chmod +x docker/entrypoint.sh # buildkit
RUN /bin/sh -c sed -i 's/\r$//' docker/prod_entrypoint.sh && chmod +x docker/prod_entrypoint.sh # buildkit
EXPOSE [4000/tcp]
RUN /bin/sh -c apk add --no-cache supervisor # buildkit
COPY docker/supervisord.conf /etc/supervisord.conf # buildkit
ENTRYPOINT ["docker/prod_entrypoint.sh"]
CMD ["--port" "4000"]

Labels

Key Value
dev.chainguard.image.title wolfi-base
dev.chainguard.package.main
org.opencontainers.image.authors Chainguard Team https://www.chainguard.dev/
org.opencontainers.image.created 2026-03-24T12:39:06Z
org.opencontainers.image.source https://github.com/chainguard-images/images/tree/main/images/wolfi-base
org.opencontainers.image.title wolfi-base
org.opencontainers.image.url https://images.chainguard.dev/directory/image/wolfi-base/overview
org.opencontainers.image.vendor Chainguard
Details
Container
2026-04-05 21:41:27 -04:00
1
OCI / Docker
linux/amd64
Chainguard Team https://www.chainguard.dev/
740 MiB
Versions (1) View all
latest 2026-04-05