Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Docker base image and system libraries #3483

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.7-slim-bookworm
FROM python:3.11.11-slim-bookworm

LABEL com.danswer.maintainer="founders@onyx.app"
LABEL com.danswer.description="This image is the web/frontend container of Onyx which \
Expand Down Expand Up @@ -27,10 +27,10 @@ RUN apt-get update && \
zip \
ca-certificates \
libgnutls30=3.7.9-2+deb12u3 \
libblkid1=2.38.1-5+deb12u1 \
libmount1=2.38.1-5+deb12u1 \
libsmartcols1=2.38.1-5+deb12u1 \
libuuid1=2.38.1-5+deb12u1 \
libblkid1=2.38.1-5+deb12u2 \
libmount1=2.38.1-5+deb12u2 \
libsmartcols1=2.38.1-5+deb12u2 \
libuuid1=2.38.1-5+deb12u2 \
libxmlsec1-dev \
pkg-config \
gcc && \
Expand Down
4 changes: 2 additions & 2 deletions backend/Dockerfile.model_server
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.7-slim-bookworm
FROM python:3.11.11-slim-bookworm

LABEL com.danswer.maintainer="founders@onyx.app"
LABEL com.danswer.description="This image is for the Onyx model server which runs all of the \
Expand All @@ -20,7 +20,7 @@ RUN pip install --no-cache-dir --upgrade \
--timeout 30 \
-r /tmp/requirements.txt

RUN apt-get remove -y --allow-remove-essential perl-base && \
RUN apt-get remove -y --allow-remove-essential perl-base && \
apt-get autoremove -y

# Pre-downloading models for setups with limited egress
Expand Down
12 changes: 6 additions & 6 deletions backend/tests/integration/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.7-slim-bookworm
FROM python:3.11.11-slim-bookworm
# Dockerfile for integration tests
# Currently needs all dependencies, since the ITs use some of the Onyx
# backend code.
Expand All @@ -16,10 +16,10 @@ RUN apt-get update && \
zip \
ca-certificates \
libgnutls30=3.7.9-2+deb12u3 \
libblkid1=2.38.1-5+deb12u1 \
libmount1=2.38.1-5+deb12u1 \
libsmartcols1=2.38.1-5+deb12u1 \
libuuid1=2.38.1-5+deb12u1 \
libblkid1=2.38.1-5+deb12u2 \
libmount1=2.38.1-5+deb12u2 \
libsmartcols1=2.38.1-5+deb12u2 \
libuuid1=2.38.1-5+deb12u2 \
libxmlsec1-dev \
pkg-config \
gcc && \
Expand Down Expand Up @@ -84,4 +84,4 @@ COPY ./tests/integration /app/tests/integration
ENV PYTHONPATH=/app

ENTRYPOINT ["pytest", "-s"]
CMD ["/app/tests/integration", "--ignore=/app/tests/integration/multitenant_tests"]
CMD ["/app/tests/integration", "--ignore=/app/tests/integration/multitenant_tests"]
Loading