Hardcode tinfoil-proxy version in Dockerfile

This commit is contained in:
inference-bot committed 2026-09-09 13:22:21 -06:00
1 parent e05fec0ca8
commit 26b0edc6a8
1 file changed
+1 -2
+1 -2
View File
@@ -14,8 +14,7 @@ RUN mkdir -p /app/data
# proxy sits between LiteLLM and the enclave. Statically-linked Go binary,
# pinned to a specific release for reproducible builds. Downloaded with Python
# (guaranteed present in the Python base image) rather than curl/wget.
ARG TINFOIL_PROXY_VERSION=v0.2.3
RUN python3 -c "import urllib.request; urllib.request.urlretrieve('https://github.com/tinfoilsh/tinfoil-proxy/releases/download/${TINFOIL_PROXY_VERSION}/tinfoil-proxy-linux-amd64', '/app/code/tinfoil-proxy')" \
RUN python3 -c "import urllib.request; urllib.request.urlretrieve('https://github.com/tinfoilsh/tinfoil-proxy/releases/download/v0.2.3/tinfoil-proxy-linux-amd64', '/app/code/tinfoil-proxy')" \
&& chmod +x /app/code/tinfoil-proxy
# Create a startup script that configures LiteLLM with Cloudron addons