Skip to content

Commit cbe33cb

Browse files
committed
fix: c-kzg install
1 parent aaddfc2 commit cbe33cb

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
FROM --platform=${BUILDPLATFORM:-amd64} node:22-alpine as build_src
55
ARG COMMIT
66
WORKDIR /usr/app
7-
RUN apk update && apk add --no-cache g++ make python3 py3-setuptools && rm -rf /var/cache/apk/*
7+
RUN apk update && apk add --no-cache git g++ make python3 py3-setuptools && rm -rf /var/cache/apk/*
88

99
COPY . .
1010

11-
RUN chmod +x ./scripts/build_c_kzg.sh
12-
1311
RUN yarn install --non-interactive --frozen-lockfile && \
1412
yarn build && \
1513
yarn install --non-interactive --frozen-lockfile --production
@@ -25,7 +23,7 @@ RUN cd packages/cli && GIT_COMMIT=${COMMIT} yarn write-git-data
2523
# Note: This step is redundant for the host arch
2624
FROM node:22-alpine as build_deps
2725
WORKDIR /usr/app
28-
RUN apk update && apk add --no-cache g++ make python3 py3-setuptools && rm -rf /var/cache/apk/*
26+
RUN apk update && apk add --no-cache git g++ make python3 py3-setuptools && rm -rf /var/cache/apk/*
2927

3028
COPY --from=build_src /usr/app .
3129

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"packages/*"
1010
],
1111
"scripts": {
12-
"postinstall": "./scripts/build_c_kzg.sh",
1312
"clean": "rm -rf ./packages/*/lib ./packages/*/*.tsbuildinfo",
1413
"clean:nm": "rm -rf ./packages/*/node_modules ./node_modules",
1514
"build": "lerna run build",

packages/beacon-node/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"@lodestar/utils": "^1.19.0",
134134
"@lodestar/validator": "^1.19.0",
135135
"@multiformats/multiaddr": "^12.1.3",
136-
"c-kzg": "matthewkeil/c-kzg-4844#3f4a7a44d6b8cdf1fac3dd777159d130d6e1cd03",
136+
"c-kzg": "matthewkeil/c-kzg-4844#202e667ed84b39e82a5a407a2d27e733cb1dcdb6",
137137
"datastore-core": "^9.1.1",
138138
"datastore-level": "^10.1.1",
139139
"deepmerge": "^4.3.1",

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -4494,9 +4494,9 @@ [email protected]:
44944494
resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-8.1.1.tgz#3424608c62d59de5bfda05d31e0313c6174842ae"
44954495
integrity sha512-tUkzZWK0M/qdoLEqikxBWe4kumyuwjl3HO6zHTr4yEI23EojPtLYXdG1+AQY7MN0cGyNDvEaJ8wiYQm6P2bPxg==
44964496

4497-
c-kzg@matthewkeil/c-kzg-4844#3f4a7a44d6b8cdf1fac3dd777159d130d6e1cd03:
4497+
c-kzg@matthewkeil/c-kzg-4844#202e667ed84b39e82a5a407a2d27e733cb1dcdb6:
44984498
version "0.0.0"
4499-
resolved "https://codeload.github.com/matthewkeil/c-kzg-4844/tar.gz/3f4a7a44d6b8cdf1fac3dd777159d130d6e1cd03"
4499+
resolved "https://codeload.github.com/matthewkeil/c-kzg-4844/tar.gz/202e667ed84b39e82a5a407a2d27e733cb1dcdb6"
45004500

45014501
cac@^6.7.14:
45024502
version "6.7.14"

0 commit comments

Comments
 (0)