Skip to content

Commit

Permalink
feat(release): make sure its installed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Feb 28, 2024
1 parent 0493d60 commit fdf5038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
11 changes: 0 additions & 11 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
[build]
dockerfile = "./Dockerfile.build"

[target.x86_64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH && apt-get install --only-upgrade libc6:$CROSS_DEB_ARCH"
]

[target.aarch64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH && apt-get install --only-upgrade libc6:$CROSS_DEB_ARCH"
]
3 changes: 2 additions & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ FROM $CROSS_BASE_IMAGE
COPY --from=foundry /usr/local/bin/forge /usr/local/bin/forge

RUN apt-get update && apt-get install -y unzip
RUN curl -fsSL https://bun.sh/install | bash -s "bun-v1.0.29"
RUN curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr bash -s "bun-v1.0.29"
SHELL ["/bin/bash", "-c"]

# Install Protobuf compiler v3
RUN curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip \
Expand Down

0 comments on commit fdf5038

Please sign in to comment.