A weak attempt at reducing docker image size.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3951 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2022-08-04 01:15:39 +00:00
parent fbfbd6a6b4
commit eca3696740

View File

@ -1,4 +1,4 @@
FROM debian:bullseye AS build
FROM bitnami/minideb:bullseye AS build
RUN apt-get update && \
apt-get install -y --no-install-recommends \
@ -8,11 +8,11 @@ RUN apt-get update && \
COPY . /app
RUN make -C /app -j $(nproc) release
FROM debian:bullseye
FROM bitnami/minideb:bullseye
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libsodium23 \
libssl1.1
COPY --from=build /app/out/release/tildefriends /app/out/release/tildefriends
COPY --from=build /app/apps /app/apps
COPY --from=build /app/core /app/core