Skip to content

Commit

Permalink
feat: add wasmtime (#6314)
Browse files Browse the repository at this point in the history
Please read [contributing guidelines](CONTRIBUTING.md) and remove this
line.
  • Loading branch information
charlielye authored and iakovenkos committed May 15, 2024
1 parent 792feac commit 817cf4f
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions build-images/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ build:
# Utils
curl \
git \
curl \
wget \
jq \
gawk \
unzip \
netcat-openbsd \
parallel \
xz-utils \
# C++ (clang=18, which we will move to. 16 is for current build.)
build-essential \
cmake \
Expand Down Expand Up @@ -186,6 +186,11 @@ build:
&& chmod +x /usr/local/bin/terraform \
&& rm terraform.zip

# Install wasmtime.
RUN curl -fsSL https://github.com/bytecodealliance/wasmtime/releases/download/v20.0.2/wasmtime-v20.0.2-$(uname -m)-linux.tar.xz | tar xJ \
&& mv wasmtime-v20.0.2-$(uname -m)-linux/wasmtime /usr/local/bin \
&& rm -rf wasmtime*

ARG TARGETARCH
SAVE IMAGE --push aztecprotocol/build:1.0-$TARGETARCH

Expand All @@ -200,24 +205,26 @@ basebox:
# Install stuff devs need.
RUN apt update && \
apt install -y \
zsh \
cgroup-tools \
clangd-16 \
fzf \
libfuse2 \
gnupg \
htop \
iproute2 \
iputils-ping \
telnet \
less \
libfuse2 \
lsb-release \
tmux \
vim \
software-properties-common \
gnupg \
htop \
cgroup-tools \
neovim \
sudo \
clangd-16 \
man \
neovim \
python3-blessed \
software-properties-common \
ssh \
sudo \
telnet \
tmux \
vim \
zsh \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install earthly.
Expand Down

0 comments on commit 817cf4f

Please sign in to comment.