From 7b39087fa7792c228a8ef131dd34aa238f9bf0b5 Mon Sep 17 00:00:00 2001 From: Exynox Date: Sun, 17 Nov 2024 10:47:03 +0000 Subject: [PATCH] Changed dev packages with shared libraries in order to reduce image size. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4e2fe96..eaacc64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ RUN cd build && make -j $(nproc) FROM ubuntu:22.04 AS app WORKDIR /app -RUN apt-get update && apt-get install -y gettext python2 libdevil-dev libbsd-dev && apt-get clean +RUN apt-get update && apt-get install -y gettext python2 libdevil1c2 libbsd0 && apt-get clean # Copy the binaries from the build stage COPY --from=build /app/build/src/db/db /bin/db