From 16bd98ab12915e94f72761a38af731d241894d8e Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Tue, 14 Jul 2026 11:52:56 -0400 Subject: [PATCH] Download mc from our minio And remove vestigial dockerfile --- .gitea/workflows/ci.yml | 6 +++--- Dockerfile | 46 ----------------------------------------- 2 files changed, 3 insertions(+), 49 deletions(-) delete mode 100644 Dockerfile diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f236293..d6cb6b3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: sudo apt-get install -y \ build-essential ccache cmake gcc g++ libc6-dbg \ ninja-build python3 valgrind zstd - sudo curl -Ls "https://dl.min.io/client/mc/release/linux-amd64/mc" \ + sudo curl -Ls "https://minio.weaselab.dev/public/$(uname -m)/mc.RELEASE.2025-08-13T08-35-41Z" \ -o /usr/local/bin/mc && sudo chmod +x /usr/local/bin/mc - name: Install LLVM toolchain @@ -138,7 +138,7 @@ jobs: latexmk libc6-dbg llvm-21 lld-21 mold ninja-build rpm \ texlive-bibtex-extra texlive-fonts-recommended \ texlive-latex-extra texlive-pictures valgrind zstd - sudo curl -Ls "https://dl.min.io/client/mc/release/linux-$(dpkg --print-architecture)/mc" \ + sudo curl -Ls "https://minio.weaselab.dev/public/$(uname -m)/mc.RELEASE.2025-08-13T08-35-41Z" \ -o /usr/local/bin/mc && sudo chmod +x /usr/local/bin/mc for tool in clang clang++ llvm-ar llvm-nm llvm-ranlib llvm-objcopy llvm-cov llvm-symbolizer lld ld.lld; do sudo update-alternatives --install /usr/bin/${tool} ${tool} /usr/bin/${tool}-21 100 @@ -230,7 +230,7 @@ jobs: sudo apt-get install -y \ build-essential ccache clang-21 cmake gcovr \ libc6-dbg llvm-21 lld-21 mold ninja-build python3 valgrind zstd - sudo curl -Ls "https://dl.min.io/client/mc/release/linux-amd64/mc" \ + sudo curl -Ls "https://minio.weaselab.dev/public/$(uname -m)/mc.RELEASE.2025-08-13T08-35-41Z" \ -o /usr/local/bin/mc && sudo chmod +x /usr/local/bin/mc for tool in clang clang++ llvm-ar llvm-nm llvm-ranlib llvm-objcopy llvm-cov llvm-symbolizer lld ld.lld; do sudo update-alternatives --install /usr/bin/${tool} ${tool} /usr/bin/${tool}-21 100 diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index f6d9ac0..0000000 --- a/Dockerfile +++ /dev/null @@ -1,46 +0,0 @@ -FROM ubuntu:rolling - -WORKDIR /tmp -ENV HOME=/tmp -RUN chmod -R 777 /tmp - -# Install apt dependencies -RUN apt-get update -RUN apt-get upgrade -y -RUN TZ=America/Los_Angeles DEBIAN_FRONTEND=noninteractive apt-get install -y \ - biber \ - build-essential \ - ccache \ - clang \ - cmake \ - curl \ - devscripts \ - gcovr \ - git \ - latexmk \ - libc6-dbg \ - llvm \ - mold \ - ninja-build \ - nodejs \ - pre-commit \ - python3-requests \ - rpm \ - texlive-bibtex-extra \ - texlive-fonts-recommended \ - texlive-latex-extra \ - texlive-pictures \ - valgrind \ - wget \ - zstd - -# MinIO client, for uploading build artifacts -RUN curl -Ls "https://dl.min.io/client/mc/release/linux-$(dpkg --print-architecture)/mc" \ - -o /usr/local/bin/mc && chmod +x /usr/local/bin/mc - -ENV CC=clang -ENV CXX=clang++ - -# Try to have all the pre-commit hooks we'll need already initialized -COPY .pre-commit-config.yaml /tmp/ -RUN git init && pre-commit install-hooks