diff options
author | 2023-09-14 22:23:10 -0700 | |
---|---|---|
committer | 2023-09-14 22:23:10 -0700 | |
commit | 2e6898470e9e329a8de171bd902ac53ba6477ae0 (patch) | |
tree | ab199e833fd1ff19a9d2c6ca642653c8d34437d7 | |
parent | d606958f11e486c53c8811958a98a3a560d09704 (diff) | |
download | bun-2e6898470e9e329a8de171bd902ac53ba6477ae0.tar.gz bun-2e6898470e9e329a8de171bd902ac53ba6477ae0.tar.zst bun-2e6898470e9e329a8de171bd902ac53ba6477ae0.zip |
fix dockerfile (#5439)
* fixup docker
* Update Dockerfile
* Update Dockerfile
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
-rw-r--r-- | Dockerfile | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/Dockerfile b/Dockerfile index f8ecac00c..5ffe035a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,15 +24,13 @@ ARG BUN_BASE_VERSION=1.0 FROM bitnami/minideb:bullseye as bun-base -RUN install_packages ca-certificates curl wget lsb-release software-properties-common gnupg gnupg1 gnupg2 - -RUN wget https://apt.llvm.org/llvm.sh && \ - chmod +x llvm.sh && \ - ./llvm.sh 16 - -RUN install_packages \ +RUN install_packages ca-certificates curl wget lsb-release software-properties-common gnupg gnupg1 gnupg2 && \ + echo "deb https://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-16 main" > /etc/apt/sources.list.d/llvm.list && \ + echo "deb-src https://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-16 main" >> /etc/apt/sources.list.d/llvm.list && \ + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \ + curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ + install_packages \ cmake \ - curl \ file \ git \ gnupg \ @@ -46,17 +44,17 @@ RUN install_packages \ rsync \ ruby \ unzip \ + clang-16 \ + lld-16 \ + lldb-16 \ + clangd-16 \ xz-utils \ - bash tar gzip ccache + bash tar gzip ccache nodejs && \ + npm install -g esbuild ENV CXX=clang++-16 ENV CC=clang-16 -RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ - install_packages nodejs && \ - npm install -g esbuild - - ARG DEBIAN_FRONTEND ARG GITHUB_WORKSPACE ARG WEBKIT_DIR |