Hardcode tinfoil-proxy version in Dockerfile
This commit is contained in:
1 parent
e05fec0ca8
commit
26b0edc6a8
1 file changed
+1
-2
+1
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user