Changed dev packages with shared libraries in order to reduce image size.

This commit is contained in:
Exynox 2024-11-17 10:47:03 +00:00
parent db4542dd7a
commit 7b39087fa7

View File

@ -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