Skip to content

Commit

Permalink
dist/ubt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huapox committed Jun 26, 2024
1 parent 8bf9e3b commit 799dd69
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions distros/src/Dockerfile.apt-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ ENV \
# LOCALE_INCLUDE="en"
ARG TARGETPLATFORM
ARG TYPE=core
RUN echo "
Acquire {\n\
RUN echo "Acquire {\n\
APT::Get::Allow-Unauthenticated \"true\";\n\
GPG::Ignore \"true\";\n\
AllowInsecureRepositories \"true\";\n\
AllowDowngradeToInsecureRepositories \"true\";\n\
}
" > /etc/apt/apt.conf.d/skip-gpg-check-ig;
}" > /etc/apt/apt.conf.d/skip-gpg-check-ig;
RUN export DOMAIN="mirrors.ustc.edu.cn"; \
test -z "$(echo $TARGETPLATFORM |grep arm)" && target=ubuntu || target=ubuntu-ports; \
echo "deb http://${DOMAIN}/$target ${VER} main restricted universe multiverse" > /etc/apt/sources.list \
Expand Down

0 comments on commit 799dd69

Please sign in to comment.