diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-03-26 13:01:45 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-03-26 13:02:30 +0100 |
| commit | 93639c5e9cbf777ba9c9702414480f09a694c25e (patch) | |
| tree | 67968348f885b8ed0138213794d30845466271c3 /Containerfile | |
| parent | 19459a9b54a54403d3d40bc6d6d736367339c6dc (diff) | |
| download | teachos-toolchain-93639c5e9cbf777ba9c9702414480f09a694c25e.tar.xz teachos-toolchain-93639c5e9cbf777ba9c9702414480f09a694c25e.zip | |
container: add LLVM upstream package repo
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Containerfile b/Containerfile index 07ada9f..c761c26 100644 --- a/Containerfile +++ b/Containerfile @@ -35,7 +35,10 @@ LABEL org.opencontainers.image.description="A semi-statically linked cross-compi RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - libstdc++6 && \ + gnupg libstdc++6 software-properties-common wget && \ + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /usr/share/keyrings/llvm-archive-keyring.gpg && \ + echo "deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http://apt.llvm.org/questing/ llvm-toolchain-questing main" > /etc/apt/sources.list.d/llvm.list && \ + DEBIAN_FRONTEND=noninteractive apt-get autoremove -y --purge gnupg software-properties-common wget && \ rm -rf /var/lib/apt/lists/* COPY --from=builder /opt/toolchain /opt/toolchain |
