mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
fix(docker): update apt-get command to skip valid-until check for EOL bullseye.
This commit is contained in:
+4
-1
@@ -11,7 +11,10 @@ ARG USER_GID=$USER_UID
|
|||||||
# install dependencies
|
# install dependencies
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
#
|
||||||
|
# bullseye is EOL, its Release files (esp. bullseye-security) are frozen
|
||||||
|
# and expired, so skip the valid-until check
|
||||||
|
apt-get -o Acquire::Check-Valid-Until=false update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
wget ca-certificates python2 supervisor \
|
wget ca-certificates python2 supervisor \
|
||||||
pulseaudio dbus-x11 xserver-xorg-video-dummy \
|
pulseaudio dbus-x11 xserver-xorg-video-dummy \
|
||||||
|
|||||||
@@ -16,7 +16,10 @@ RUN set -eux; \
|
|||||||
echo deb http://deb.debian.org/debian bullseye main contrib non-free > /etc/apt/sources.list; \
|
echo deb http://deb.debian.org/debian bullseye main contrib non-free > /etc/apt/sources.list; \
|
||||||
echo deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free >> /etc/apt/sources.list; \
|
echo deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free >> /etc/apt/sources.list; \
|
||||||
echo deb http://deb.debian.org/debian bullseye-updates main contrib non-free >> /etc/apt/sources.list; \
|
echo deb http://deb.debian.org/debian bullseye-updates main contrib non-free >> /etc/apt/sources.list; \
|
||||||
apt-get update; \
|
#
|
||||||
|
# bullseye is EOL, its Release files (esp. bullseye-security) are frozen
|
||||||
|
# and expired, so skip the valid-until check
|
||||||
|
apt-get -o Acquire::Check-Valid-Until=false update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
wget ca-certificates supervisor \
|
wget ca-certificates supervisor \
|
||||||
pulseaudio dbus-x11 xserver-xorg-video-dummy \
|
pulseaudio dbus-x11 xserver-xorg-video-dummy \
|
||||||
|
|||||||
+4
-1
@@ -7,7 +7,10 @@ WORKDIR /src
|
|||||||
# install dependencies
|
# install dependencies
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
#
|
||||||
|
# bullseye is EOL, its Release files (esp. bullseye-security) are frozen
|
||||||
|
# and expired, so skip the valid-until check
|
||||||
|
apt-get -o Acquire::Check-Valid-Until=false update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev \
|
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev \
|
||||||
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
|
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
|
||||||
|
|||||||
@@ -5,7 +5,10 @@ WORKDIR /xorg
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
#
|
||||||
|
# bullseye is EOL, its Release files (esp. bullseye-security) are frozen
|
||||||
|
# and expired, so skip the valid-until check
|
||||||
|
apt-get -o Acquire::Check-Valid-Until=false update; \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
git gcc pkgconf autoconf automake libtool make xorg-dev xutils-dev \
|
git gcc pkgconf autoconf automake libtool make xorg-dev xutils-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*;
|
&& rm -rf /var/lib/apt/lists/*;
|
||||||
|
|||||||
@@ -3,7 +3,10 @@ FROM debian:bullseye-slim
|
|||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
#
|
||||||
|
# bullseye is EOL, its Release files (esp. bullseye-security) are frozen
|
||||||
|
# and expired, so skip the valid-until check
|
||||||
|
apt-get -o Acquire::Check-Valid-Until=false update; \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
gcc pkgconf autoconf automake libtool make xorg-dev xutils-dev \
|
gcc pkgconf autoconf automake libtool make xorg-dev xutils-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*;
|
&& rm -rf /var/lib/apt/lists/*;
|
||||||
|
|||||||
Reference in New Issue
Block a user