diff options
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 |
