Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix devbox #10201

Merged
merged 5 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions build-images/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ build:
# Python (clang bindings for wasm bindgen.)
python3 \
python3-clang \
# Unminimize ubuntu installation, recently removed from base images
unminimize \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Expand Down Expand Up @@ -321,12 +323,12 @@ devbox:
CMD ["/bin/zsh"]

ARG TARGETARCH
SAVE IMAGE --push aztecprotocol/devbox:1.0-$TARGETARCH
SAVE IMAGE --push aztecprotocol/devbox:1.1-$TARGETARCH
# Save it without the arch tag as this is what's referenced in devcontainer.json
SAVE IMAGE aztecprotocol/devbox:1.0
SAVE IMAGE aztecprotocol/devbox:1.1

devbox-manifest:
LET VERSION = 1.0
LET VERSION = 1.1
ARG TARGETARCH
WAIT
BUILD +devbox
Expand Down Expand Up @@ -426,5 +428,5 @@ sysbox:
EXPOSE 22

ARG TARGETARCH
SAVE IMAGE aztecprotocol/sysbox:1.0-$TARGETARCH
SAVE IMAGE aztecprotocol/sysbox:1.0
SAVE IMAGE aztecprotocol/sysbox:1.1-$TARGETARCH
SAVE IMAGE aztecprotocol/sysbox:1.1
2 changes: 1 addition & 1 deletion build-images/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ else
-vdevbox-var-lib-docker:/var/lib/docker \
-v$HOME/.ssh/id_rsa:/home/aztec-dev/.ssh/id_rsa:ro \
--privileged \
aztecprotocol/devbox:1.0
aztecprotocol/devbox:1.1
fi
Loading