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

build(mev-geth): update #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
25 changes: 20 additions & 5 deletions scripts/build-flashbots.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
#!/bin/sh
#!/bin/bash
# PREVIOUS_VERSION=v1.10.8-mev0.4.0
# LATEST_VERSION=v1.10.17-mev0.6.1

VERSION=v1.10.8-mev0.4.0
set -o errexit
set -o nounset

git clone https://github.com/flashbots/mev-geth --branch v1.10.8-mev0.4.0 --single-branch go-ethereum
trap '[ "$?" -ne 0 ] && printf "\nAn error occurred\n"' EXIT



VERSION=v1.10.17-mev0.6.1
GIT_COMMIT=9b62e981e98ad44b2f39ece2de605d7fa0e9816a

git clone https://github.com/flashbots/mev-geth --branch v1.10.17-mev0.6.1 --single-branch go-ethereum
cd go-ethereum/
git submodule sync --recursive && git submodule update --init --recursive
echo "building $VERSION"
echo "Docker BuildX Starting..."
DOCKER_BUILDKIT=1 docker buildx build go-ethereum/ -t openmev/mev-geth-alpine:v1.10.8-mev0.4.0
#DOCKER_BUILDKIT=1 docker buildx build . -t openmev/mev-geth-alpine:v1.10.8-mev0.4.0
#dock#DOCKER_BUILDKIT=1 docker buildx build . -t openmev/mev-geth-alpine:v1.10.17-mev0.6.1
#docker image build --build-arg VCS_REF=`git rev-parse --short HEAD` --build-arg BUILD_DATE=`date -u +”%Y-%m-%dT%H:%M:%SZ”` -t $IMAGE_NAME .
#DOCKER_BUILDKIT=1 docker buildx build . -t openmev/mev-geth-alpine:v1.10.17-mev0.6.1

DOCKER_BUILDKIT=1 docker buildx build go-ethereum/ -t openmev/mev-geth-alpine:v1.10.17-mev0.6.1 --build-arg VCS_REF=`git rev-parse --short HEAD` --build-arg BUILD_DATE=`date -u +”%Y-%m-%dT%H:%M:%SZ”`