Skip to content

Commit

Permalink
fix(Dockerfile): replace security sources mirrors
Browse files Browse the repository at this point in the history
  • Loading branch information
jklincn committed Jan 26, 2024
1 parent 2cbc492 commit f217e27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FROM ubuntu:20.04 as build_qemu
ARG QEMU_VERSION=7.0.0

RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list && \
sed -i 's/security.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y wget build-essential libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build

Expand Down

0 comments on commit f217e27

Please sign in to comment.