File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,25 @@ WORKDIR /app
1919
2020COPY versions.env /tmp/versions.env
2121
22- RUN . /tmp/versions.env && git clone $OP_GETH_REPO --branch $OP_GETH_TAG --single-branch . && git switch -c branch-$OP_GETH_TAG #&& bash -c '[ "$(git rev-parse HEAD)" = "$OP_GETH_COMMIT" ]'
22+ RUN . /tmp/versions.env && git clone $OP_GETH_REPO --branch $OP_GETH_TAG --single-branch . && \
23+ git switch -c branch-$OP_GETH_TAG && \
24+ bash -c '[ "$(git rev-parse HEAD)" = "$OP_GETH_COMMIT" ]'
2325
24- # RUN . /tmp/versions.env && git clone $OP_GETH_REPO --branch $OP_GETH_TAG --single-branch .
25- # RUN . /tmp/versions.env git switch -c branch-$OP_GETH_TAG
26- # RUN . /tmp/versions.env bash -c '[ "$(git rev-parse HEAD)" = "$OP_GETH_COMMIT" ]'
26+ RUN go run build/ci.go install -static ./cmd/geth
27+
28+ FROM ubuntu:22.04
29+
30+ RUN apt-get update && \
31+ apt-get install -y jq curl supervisor && \
32+ rm -rf /var/lib/apt/lists
33+ RUN mkdir -p /var/log/supervisor
34+
35+ WORKDIR /app
36+
37+ COPY --from=op /app/op-node/bin/op-node ./
38+ COPY --from=geth /app/build/bin/geth ./
39+ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
40+ COPY geth/geth-entrypoint ./execution-entrypoint
41+ COPY op-node-entrypoint .
42+
43+ CMD ["/usr/bin/supervisord" ]
You can’t perform that action at this time.
0 commit comments