Skip to content

Commit

Permalink
chore(docker): remove cross script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Oct 25, 2023
1 parent ab6ecb6 commit a0112a8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
- name: Build and push image
run: |
cargo install cross
env PROFILE=release make docker-build-latest
export PROFILE=release && make docker-build-latest
1 change: 0 additions & 1 deletion Cross.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[build]
pre-build = [
"git config --global --add safe.directory '*'",
"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",
"mkdir -p /etc/apt/keyrings",
"curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg",
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test-spec-modular: ## Run spec tests in modular mode
# Note: The additional rustc compiler flags are for intrinsics needed by MDBX.
# See: https://github.com/cross-rs/cross/wiki/FAQ#undefined-reference-with-build-std
build-%:
./cross.sh build --bin rundler --target $* --profile "$(PROFILE)"
cross build --bin rundler --target $* --profile "$(PROFILE)"

# Note: This requires a buildx builder with emulation support. For example:
.PHONY: docker-build-latest
Expand Down
5 changes: 0 additions & 5 deletions cross.sh

This file was deleted.

0 comments on commit a0112a8

Please sign in to comment.