Add bash in op-batcher container

This commit is contained in:
Prathamesh Musale 2023-04-03 19:50:58 +05:30
parent 8ee788fc57
commit f98cdf1e42
2 changed files with 2 additions and 4 deletions

View File

@ -82,8 +82,6 @@ services:
env_file:
- ../config/fixturenet-optimism/.env
depends_on:
fixturenet-eth-geth-1:
condition: service_healthy
op-node:
condition: service_healthy
op-geth:
@ -93,7 +91,7 @@ services:
- ../config/fixturenet-optimism/wait-for-it.sh:/wait-for-it.sh
- ../config/fixturenet-optimism/run-op-batcher.sh:/run-op-batcher.sh
- l2_accounts:/l2-accounts:ro
entrypoint: "sh"
entrypoint: ["sh", "-c"]
command: |
"/wait-for-it.sh -h $${L1_HOST} -p $${L1_PORT} -s -t 60 -- /run-op-batcher.sh"
extra_hosts:

View File

@ -25,7 +25,7 @@ RUN make op-batcher VERSION="$VERSION" GOOS=$TARGETOS GOARCH=$TARGETARCH
FROM alpine:3.15
RUN apk add --no-cache jq
RUN apk add --no-cache jq bash
COPY --from=builder /app/op-batcher/bin/op-batcher /usr/local/bin