From e35e59012c334777884ac662ca414a50b1856f27 Mon Sep 17 00:00:00 2001 From: Joshua Pauline Date: Sat, 24 Feb 2024 16:55:45 -0500 Subject: [PATCH] feat(bun): add bun to dockerfile --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 095574321..3445431a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,8 @@ FROM --platform=$TARGETPLATFORM rust:1.75.0 AS chef-builder # Install system dependencies -RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list -RUN mkdir -p /etc/apt/keyrings -RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg -RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list -RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-config protobuf-compiler nodejs yarn rsync - +RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-config protobuf-compiler rsync unzip +RUN curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr bash SHELL ["/bin/bash", "-c"] RUN curl -L https://foundry.paradigm.xyz | bash ENV PATH="/root/.foundry/bin:${PATH}"