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:
parent
fbfbd6a6b4
commit
eca3696740
@ -1,4 +1,4 @@
|
|||||||
FROM debian:bullseye AS build
|
FROM bitnami/minideb:bullseye AS build
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
@ -8,11 +8,11 @@ RUN apt-get update && \
|
|||||||
COPY . /app
|
COPY . /app
|
||||||
RUN make -C /app -j $(nproc) release
|
RUN make -C /app -j $(nproc) release
|
||||||
|
|
||||||
FROM debian:bullseye
|
FROM bitnami/minideb:bullseye
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
libsodium23 \
|
|
||||||
libssl1.1
|
libssl1.1
|
||||||
|
|
||||||
COPY --from=build /app/out/release/tildefriends /app/out/release/tildefriends
|
COPY --from=build /app/out/release/tildefriends /app/out/release/tildefriends
|
||||||
COPY --from=build /app/apps /app/apps
|
COPY --from=build /app/apps /app/apps
|
||||||
COPY --from=build /app/core /app/core
|
COPY --from=build /app/core /app/core
|
||||||
|
Loading…
Reference in New Issue
Block a user