Skip to content

Commit

Permalink
[docker] Don't use mirrors for apt
Browse files Browse the repository at this point in the history
It looked like a good idea to use apt mirrors at first but in the end some mirrors are either slow or broken and this ending up wioth very slow building
  • Loading branch information
LordTermor committed Mar 1, 2024
1 parent 8400abf commit 7b891d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM ubuntu:22.04

RUN apt update --yes && apt install --yes ca-certificates curl gnupg

RUN sed -i 's/htt[p|ps]:\/\/archive.ubuntu.com\/ubuntu\//mirror:\/\/mirrors.ubuntu.com\/mirrors.txt/g' /etc/apt/sources.list

RUN echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" > /etc/apt/sources.list.d/llvm.list
RUN curl --silent --location https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -

Expand Down

0 comments on commit 7b891d0

Please sign in to comment.