From 69a71d8c58cb9f62c09360f28fe5db5536c5386a Mon Sep 17 00:00:00 2001 From: jonaro00 <54029719+jonaro00@users.noreply.github.com> Date: Wed, 31 May 2023 16:41:56 +0200 Subject: [PATCH 1/2] feat: pre-installed build environment in deployer --- deployer/prepare.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deployer/prepare.sh b/deployer/prepare.sh index c9993ddd2..d1d3f09fa 100755 --- a/deployer/prepare.sh +++ b/deployer/prepare.sh @@ -66,3 +66,7 @@ done # TODO: restore when we know how to prefetch from our mirror # cd /usr/src/shuttle/service # cargo fetch + +# Install common build tools for external crates +apt update +apt install -y llvm-dev libclang-dev gcc clang cmake make automake autoconf libtool From 4f2374207c3be511bec0e98f1e54a3d9a4708ddf Mon Sep 17 00:00:00 2001 From: jonaro00 <54029719+jonaro00@users.noreply.github.com> Date: Thu, 1 Jun 2023 14:15:23 +0200 Subject: [PATCH 2/2] Edit list --- deployer/prepare.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployer/prepare.sh b/deployer/prepare.sh index d1d3f09fa..30259267b 100755 --- a/deployer/prepare.sh +++ b/deployer/prepare.sh @@ -68,5 +68,6 @@ done # cargo fetch # Install common build tools for external crates +# The image should already have these: https://github.com/docker-library/buildpack-deps/blob/65d69325ad741cea6dee20781c1faaab2e003d87/debian/buster/Dockerfile apt update -apt install -y llvm-dev libclang-dev gcc clang cmake make automake autoconf libtool +apt install -y llvm-dev libclang-dev clang cmake