Skip to content

Commit

Permalink
chore(release): remove reth wording
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Oct 23, 2023
1 parent a7714ae commit c19a9f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ WORKDIR /app
# install curl for healthcheck
RUN apt-get -y update; apt-get -y install curl

# Copy reth over from the build stage
# Copy rundler over from the build stage
COPY --from=builder /app/target/release/rundler /usr/local/bin

EXPOSE 3000 8080
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.cross
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# This image is meant to enable cross-architecture builds.
# It assumes the reth binary has already been compiled for `$TARGETPLATFORM` and is
# It assumes the rundler binary has already been compiled for `$TARGETPLATFORM` and is
# locatable in `./dist/bin/$TARGETARCH`
FROM --platform=$TARGETPLATFORM ubuntu:22.04

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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 build --bin reth --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 All @@ -43,11 +43,11 @@ docker-build-latest: ## Build and push a cross-arch Docker image tagged with the
define build_docker_image
$(MAKE) build-x86_64-unknown-linux-gnu
mkdir -p $(BIN_DIR)/amd64
cp $(BUILD_PATH)/x86_64-unknown-linux-gnu/$(PROFILE)/reth $(BIN_DIR)/amd64/reth
cp $(BUILD_PATH)/x86_64-unknown-linux-gnu/$(PROFILE)/rundler $(BIN_DIR)/amd64/rundler

$(MAKE) build-aarch64-unknown-linux-gnu
mkdir -p $(BIN_DIR)/arm64
cp $(BUILD_PATH)/aarch64-unknown-linux-gnu/$(PROFILE)/reth $(BIN_DIR)/arm64/reth
cp $(BUILD_PATH)/aarch64-unknown-linux-gnu/$(PROFILE)/rundler $(BIN_DIR)/arm64/rundler

docker buildx build --file ./Dockerfile.cross . \
--platform linux/amd64,linux/arm64 \
Expand Down

0 comments on commit c19a9f8

Please sign in to comment.