Skip to content

Commit 105d1d4

Browse files
committed
fix dependency error
1 parent 513d74b commit 105d1d4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/dockerfiles/beacon-chain_file.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build Geth in a stock Go builder container
22
FROM golang:1.21 as builder
33

4-
RUN apt-get update && apt-get install -y gcc g++ libstdc++6 libc-dev musl-dev linux-headers git
4+
RUN apt-get update && apt-get install -y --no-install-recommends gcc g++ libstdc++6 libc-dev musl-dev linux-headers
55

66
# Get dependencies - will also be cached if we won't change go.mod/go.sum
77
COPY go.mod /prysm/
@@ -14,7 +14,7 @@ RUN cd /prysm/cmd/beacon-chain && CGO_ENABLED=1 go build -v -o /usr/local/bin/be
1414
# Pull Geth into a second stage deploy container
1515
FROM debian:buster-slim
1616

17-
RUN apt-get update && apt-get install -y \
17+
RUN apt-get update && apt-get install -y --no-install-recommends \
1818
ca-certificates \
1919
libstdc++6 \
2020
libc-dev \

build/dockerfiles/validator_file.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build Geth in a stock Go builder container
22
FROM golang:1.21 as builder
33

4-
RUN apt-get update && apt-get install -y gcc g++ libstdc++6 libc-dev musl-dev linux-headers git
4+
RUN apt-get update && apt-get install -y --no-install-recommends gcc g++ libstdc++6 libc-dev musl-dev linux-headers
55

66
# Get dependencies - will also be cached if we won't change go.mod/go.sum
77
COPY go.mod /prysm/
@@ -14,7 +14,7 @@ RUN cd /prysm/cmd/validator && CGO_ENABLED=1 go build -v -o /usr/local/bin/valid
1414
# Pull Geth into a second stage deploy container
1515
FROM debian:buster-slim
1616

17-
RUN apt-get update && apt-get install -y \
17+
RUN apt-get update && apt-get install -y --no-install-recommends \
1818
ca-certificates \
1919
libstdc++6 \
2020
libc-dev \

0 commit comments

Comments
 (0)