mirror of
https://example.com
synced 2024-11-22 11:36:39 +09:00
chore: specify DEBIAN_FRONTEND=noninteractive in docker build
This commit is contained in:
parent
92d636dbed
commit
38517ae726
1 changed files with 2 additions and 0 deletions
|
@ -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 . ./
|
||||
|
|
Loading…
Reference in a new issue