Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed May 10, 2024
1 parent 7a4bb18 commit 298e5ac
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
API_PORT: "${API_PORT}"
LOG_LEVEL: "${LOG_LEVEL}"
BYPASS_VALIDATORS_FILTERING: "${BYPASS_VALIDATORS_FILTERING}"
BEACON_NODE_URL: ${BEACON_NODE_URL}
depends_on:
- mongo
container_name: listener
Expand Down
3 changes: 2 additions & 1 deletion listener/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ COPY cmd/ ./cmd/
RUN CGO_ENABLED=0 GOOS=linux go build -v -o /bin/listener ./cmd/listener/main.go

# Use a Docker multi-stage build to create a lean production image.
# # build-essential required by dependency github.com/herumi/bls-eth-go-binary
FROM debian:bookworm-slim
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends ca-certificates netbase; \
apt-get install -y --no-install-recommends ca-certificates netbase git build-essential; \
# Remove apt cache to reduce image size.
apt-get clean; \
rm -rf /var/lib/apt/lists/*
Expand Down
3 changes: 2 additions & 1 deletion listener/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ FROM golang:1.22.0-alpine3.19
WORKDIR /app

# Install system dependencies required for Air and your application
RUN apk add --no-cache git
# build-base required by dependency github.com/herumi/bls-eth-go-binary
RUN apk add --no-cache git build-base

# Install Air
RUN go install github.com/cosmtrek/air@latest
Expand Down
4 changes: 2 additions & 2 deletions web3signer/signer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM eclipse-temurin:17 as jre-build
WORKDIR /app
# TODO: update with official repo
RUN apt update && apt install git -y && git clone https://github.com/usmansaleem/web3signer.git
RUN apt update && apt install git -y && git clone https://github.com/consensys/web3signer.git
WORKDIR /app/web3signer
RUN git fetch origin && git checkout sign_extension && ./gradlew clean assemble && tar -xzf ./build/distributions/web3signer-develop.tar.gz
RUN git fetch origin && ./gradlew clean assemble && tar -xzf ./build/distributions/web3signer-develop.tar.gz

##############
# WEB3SIGNER #
Expand Down

0 comments on commit 298e5ac

Please sign in to comment.