Skip to content

Commit e4fb3ef

Browse files
EinKrebsreshke
authored andcommitted
Use mirror apt repo (#35)
1 parent 1748020 commit e4fb3ef

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docker/regress/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ ENV DEBIAN_FRONTEND=noninteractive
88
ENV TZ=Europe/Moskow
99
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
1010

11-
RUN apt-get update && apt-get install -y --no-install-recommends \
11+
RUN sed -i 's/archive.ubuntu.com/mirror.yandex.ru/g' /etc/apt/sources.list
12+
RUN apt-get update -o Acquire::AllowInsecureRepositories=true && apt-get install -y --no-install-recommends --allow-unauthenticated \
1213
sudo build-essential \
1314
gcc lsb-release libssl-dev gnupg openssl \
14-
gdb git curl
15+
gdb git curl ca-certificates
1516

1617
RUN curl -s 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xafc3ce0d00e3c45a357e9e637fcd11186050cd1a' | \
1718
gpg --dearmour -o /etc/apt/trusted.gpg.d/yandex.gpg

0 commit comments

Comments
 (0)