Remove build-essential package from runtime container

Signed-off-by: trivernis <trivernis@protonmail.com>
docker
trivernis 4 years ago
parent 6a56c02712
commit 314e305bba
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -17,7 +17,7 @@ RUN mkdir /tmp/tobi
RUN --mount=type=cache,target=target cp target/release/tobi-rs /tmp/tobi/
FROM bitnami/minideb:latest
RUN install_packages build-essential openssl libopus0 ffmpeg python3 python3-pip postgresql-client
RUN install_packages openssl libopus0 ffmpeg python3 python3-pip postgresql-client
RUN pip3 install youtube-dl
RUN rm -rf /var/lib/{apt,dpkg,cache,log}/
COPY --from=builder /tmp/tobi/tobi-rs .

Loading…
Cancel
Save