Skip to content

Commit

Permalink
up compile
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Oct 14, 2023
1 parent ecb2d9f commit f718922
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deb12/src/Dockerfile.compile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN DOMAIN="mirrors.ustc.edu.cn" \
test -z "$(echo $TARGETPLATFORM |grep arm)" && target=bookworm || target=bookworm-ports; \
&& echo "deb http://$DOMAIN/debian/ bookworm main contrib non-free" > /etc/apt/sources.list \
&& echo "deb http://$DOMAIN/debian/ bookworm-updates main contrib non-free">> /etc/apt/sources.list \
&& echo "deb http://$DOMAIN/debian/ bookworm-backports main non-free contrib">> /etc/apt/sources.list \
&& echo "deb http://$DOMAIN/debian-security/ bookworm/updates main non-free contrib">> /etc/apt/sources.list; \
echo "deb http://$DOMAIN/debian/ bookworm main contrib non-free" > /etc/apt/sources.list; \
echo "deb http://$DOMAIN/debian/ bookworm-updates main contrib non-free">> /etc/apt/sources.list; \
echo "deb http://$DOMAIN/debian/ bookworm-backports main non-free contrib">> /etc/apt/sources.list; \
echo "deb http://$DOMAIN/debian-security/ bookworm/updates main non-free contrib">> /etc/apt/sources.list; \
\
echo 'apt update -qq && apt install -yq --no-install-recommends $@ && apt clean && rm -rf /var/lib/apt/lists/*; ' > /usr/local/bin/apt.sh \
&& chmod +x /usr/local/bin/apt.sh
Expand Down

0 comments on commit f718922

Please sign in to comment.