From b2080926c5c0f9fe552d310345ae1b6f4ca38d49 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sat, 17 Feb 2024 08:30:20 +0100 Subject: [PATCH] delete rubbish --- op/#Dockerfile# | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 op/#Dockerfile# diff --git a/op/#Dockerfile# b/op/#Dockerfile# deleted file mode 100644 index b75928ec..00000000 --- a/op/#Dockerfile# +++ /dev/null @@ -1,46 +0,0 @@ -FROM golang:1.20 as op - -WORKDIR /app - -ENV REPO=https://github.com/ethereum-optimism/optimism.git -ENV VERSION=v1.4.2 -# for verification: -ENV COMMIT=f2229b8b955e53408be0775a22d7f9f162b0de66 - -RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \ - git switch -c branch-$VERSION && \ - bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]' - -RUN cd op-node && \ - make op-node - -FROM golang:1.20 as geth - -WORKDIR /app - -ENV REPO=https://github.com/ethereum-optimism/op-geth.git -ENV VERSION=v1.1801304.2 -# for verification: -ENV COMMIT=c6b416da212fe6713ff40b8092303d0035405a47 - -# avoid depth=1, so the geth build can read tags -RUN git clone $REPO --branch $VERSION --single-branch . && \ - git switch -c branch-$VERSION && \ - bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]' - -RUN go run build/ci.go install -static ./cmd/geth - -FROM golang:1.19 - -RUN apt-get update && \ - apt-get install -y jq curl && \ - rm -rf /var/lib/apt/lists - -WORKDIR /app - -COPY --from=op /app/op-node/bin/op-node ./ -COPY --from=geth /app/build/bin/geth ./ -COPY geth-entrypoint . -COPY op-node-entrypoint . -COPY goerli ./goerli -COPY mainnet ./mainnet \ No newline at end of file