mirror of
https://ghproxy.com/https://github.com/tossp/redpill-tool-chain.git
synced 2024-09-20 08:07:43 +00:00
fix
This commit is contained in:
parent
b9324e954d
commit
0ea470e703
|
@ -15,9 +15,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||
# sed -i "s/security.ubuntu.com/mirrors.aliyun.com/g" /etc/apt/sources.list && \
|
||||
# sed -i "s/deb.debian.org/mirrors.aliyun.com/g" /etc/apt/sources.list && \
|
||||
# sed -i "s/security.debian.org/mirrors.aliyun.com/g" /etc/apt/sources.list
|
||||
RUN if [ "debian:8" = "${DOCKER_BASE_IMAGE}" ] || [ "debian:8-slim" = "${DOCKER_BASE_IMAGE}" ]; then \
|
||||
echo 'APT { Get { AllowUnauthenticated "1"; }; };' | tee /etc/apt/apt.conf.d/99disable-gpg-auth ;\
|
||||
fi
|
||||
|
||||
RUN cat /etc/os-release | grep -q 'jessie' && echo 'APT::Get::AllowUnauthenticated "true";' | tee /etc/apt/apt.conf.d/99disable-gpg-auth || true
|
||||
RUN apt-get update && \
|
||||
apt-get install --yes --no-install-recommends ca-certificates build-essential git libssl-dev curl cpio bspatch vim gettext bc bison flex dosfstools kmod && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* && \
|
||||
|
|
Loading…
Reference in New Issue
Block a user