forked from naskya/firefish
docker: stop exporting DEBIAN_FRONTEND=noninteractive
This commit is contained in:
parent
6699f6a34f
commit
80448cd3ac
1 changed files with 3 additions and 5 deletions
|
@ -3,8 +3,7 @@ FROM docker.io/node:21-slim as build
|
||||||
WORKDIR /firefish
|
WORKDIR /firefish
|
||||||
|
|
||||||
# Install compilation dependencies
|
# Install compilation dependencies
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
RUN apt-get update && DEBIAN_FRONTEND='noninteractive' apt-get install -y python3 git wget curl build-essential
|
||||||
RUN apt-get update && apt-get install -y python3 git wget curl build-essential
|
|
||||||
RUN mkdir -m777 /opt/rust /opt/cargo
|
RUN mkdir -m777 /opt/rust /opt/cargo
|
||||||
ENV RUSTUP_HOME=/opt/rust CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:$PATH
|
ENV RUSTUP_HOME=/opt/rust CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:$PATH
|
||||||
RUN wget --https-only --secure-protocol=TLSv1_2 -O- https://sh.rustup.rs | sh /dev/stdin -y
|
RUN wget --https-only --secure-protocol=TLSv1_2 -O- https://sh.rustup.rs | sh /dev/stdin -y
|
||||||
|
@ -60,11 +59,10 @@ FROM docker.io/node:21-slim
|
||||||
WORKDIR /firefish
|
WORKDIR /firefish
|
||||||
|
|
||||||
# Install runtime dependencies
|
# Install runtime dependencies
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
RUN apt-get update && DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends zip unzip tini ffmpeg ca-certificates
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends zip unzip tini ffmpeg ca-certificates
|
|
||||||
|
|
||||||
RUN echo 'deb https://deb.debian.org/debian experimental main' | tee /etc/apt/sources.list
|
RUN echo 'deb https://deb.debian.org/debian experimental main' | tee /etc/apt/sources.list
|
||||||
RUN apt-get update && apt-get --target-release experimental install -y --no-install-recommends libc6
|
RUN apt-get update && DEBIAN_FRONTEND='noninteractive' apt-get --target-release experimental install -y --no-install-recommends libc6
|
||||||
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue