Skip to content

Commit

Permalink
fix: fix git-lfs pkg for devnode
Browse files Browse the repository at this point in the history
  • Loading branch information
0xawaz committed Nov 12, 2024
1 parent b0c1516 commit d94b4f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/fhevm-geth-coprocessor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ jobs:
working-directory: "."
# ${{ github.event_name == 'release' || github.ref_name == 'main' }}
push_image: true
image-name: "geth-coprocessor"
image-dev-name: "geth-coprocessor-devnode"
image-name: "geth-coprocessor-devnode"
generate-dev-image: false
docker-file: "Dockerfile"
docker-file-dev: "Dockerfile.devnode"
image-dev-description: "geth coprocessor devnode image"
docker-file: "Dockerfile.devnode"
arm-build: true

secrets:
Expand Down
11 changes: 8 additions & 3 deletions Dockerfile.devnode
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,21 @@ ARG TARGETARCH
ARG GETH_NODE_VERSION=v1.14.3
ARG PRYSM_VERSION=v5.0.3

# Install dependencies
RUN apt-get update &&\

Check failure on line 10 in Dockerfile.devnode

View workflow job for this annotation

GitHub Actions / docker-geth-coprocessor / dockerfile-lint

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

Check failure on line 10 in Dockerfile.devnode

View workflow job for this annotation

GitHub Actions / docker-geth-coprocessor / dockerfile-lint

DL3015 info: Avoid additional packages by specifying `--no-install-recommends`
apt-get install -y git git-lfs

# Download and set up Prysm binaries
ADD https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/beacon-chain-${PRYSM_VERSION}-linux-${TARGETARCH} /usr/bin/prysm-beacon
ADD https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/validator-${PRYSM_VERSION}-linux-${TARGETARCH} /usr/bin/prysm-validator
ADD https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/prysmctl-${PRYSM_VERSION}-linux-${TARGETARCH} /usr/bin/prysm-ctl
RUN chmod +x /usr/bin/prysm-beacon /usr/bin/prysm-validator /usr/bin/prysm-ctl

# Copy and build the Geth source code
COPY . /src/geth
WORKDIR /src/geth
RUN go build -buildvcs=false ./cmd/bootnode && make geth

# Copy and build the Geth source code
COPY . .
RUN go build ./cmd/bootnode && make geth

# Set up final image
FROM ghcr.io/zama-ai/zama-zbc-build:${ZBC_VERSION}
Expand Down

0 comments on commit d94b4f8

Please sign in to comment.