Update Dockerfile

Update the dockerfile to use ubuntu noble. Focal went EOL in may '25. Removed libssl 1.1 since it is no longer supported.
This commit is contained in:
DieselTech 2025-07-10 11:30:44 -04:00
parent ef2640b5fc
commit 6476bdbd4b

View File

@ -1,7 +1,7 @@
#This Dockerfile creates a build for all architectures
#Image that copies in the files and passes them to the main image
FROM ubuntu:focal AS copytask
FROM ubuntu:noble AS copytask
ARG TARGETPLATFORM
@ -16,7 +16,7 @@ RUN /copy_runtime.sh
RUN chmod +x /Kavita/Kavita
#Production image
FROM ubuntu:focal
FROM ubuntu:noble
COPY --from=copytask /Kavita /kavita
COPY --from=copytask /files/wwwroot /kavita/wwwroot
@ -24,7 +24,7 @@ COPY API/config/appsettings.json /tmp/config/appsettings.json
#Installs program dependencies
RUN apt-get update \
&& apt-get install -y libicu-dev libssl1.1 libgdiplus curl \
&& apt-get install -y libicu-dev libgdiplus curl \
&& rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /entrypoint.sh