From eca369674059a66a73624075c570a07a3c1236e4 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Thu, 4 Aug 2022 01:15:39 +0000 Subject: [PATCH] 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 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 137fa0e4..f7be0f2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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