1
0
Fork 1
mirror of https://example.com synced 2024-11-22 06:56:38 +09:00

chore: specify DEBIAN_FRONTEND=noninteractive in docker build

This commit is contained in:
naskya 2023-12-27 16:04:40 +09:00
parent 92d636dbed
commit 38517ae726
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -3,6 +3,7 @@ FROM node:21-slim as build
WORKDIR /firefish
# Install compilation dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y python3 git wget curl build-essential
RUN mkdir -m777 /opt/rust /opt/cargo
ENV RUSTUP_HOME=/opt/rust CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:$PATH
@ -59,6 +60,7 @@ FROM node:21-slim
WORKDIR /firefish
# Install runtime dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends zip unzip tini ffmpeg
COPY . ./