From f71e5e468cc56bf9aecd092aa333b08af67e8700 Mon Sep 17 00:00:00 2001 From: liuwen Date: Sat, 21 Sep 2024 21:08:09 +0800 Subject: [PATCH] update dockerfiles for deepnote --- deepnote/llm/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/deepnote/llm/Dockerfile b/deepnote/llm/Dockerfile index d1221df..439c574 100644 --- a/deepnote/llm/Dockerfile +++ b/deepnote/llm/Dockerfile @@ -36,15 +36,16 @@ ENV PATH="/root/work/bin:/root/work/bun/bin:${PATH}" WORKDIR /root/work # Install HAProxy -RUN curl https://haproxy.debian.net/bernat.debian.org.gpg | gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg && \ - echo deb "[signed-by=/usr/share/keyrings/haproxy.debian.net.gpg]" \ - http://haproxy.debian.net bookworm-backports-3.0 main \ - > /etc/apt/sources.list.d/haproxy.list && \ +# Install HAProxy +RUN apt-get update && \ + apt-get install -y gnupg2 curl && \ + curl https://haproxy.debian.net/bernat.debian.org.gpg | apt-key add - && \ + echo "deb http://haproxy.debian.net bookworm-backports-3.0 main" > /etc/apt/sources.list.d/haproxy.list && \ apt-get update && \ - apt-get install -y haproxy=3.0.\* && \ + apt-get install -y haproxy && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* - + # Set up Python virtual environment RUN python -m venv venv \ && . venv/bin/activate \