File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Build Geth in a stock Go builder container
2
2
FROM golang:1.21 as builder
3
3
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
5
5
6
6
# Get dependencies - will also be cached if we won't change go.mod/go.sum
7
7
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
14
14
# Pull Geth into a second stage deploy container
15
15
FROM debian:buster-slim
16
16
17
- RUN apt-get update && apt-get install -y \
17
+ RUN apt-get update && apt-get install -y --no-install-recommends \
18
18
ca-certificates \
19
19
libstdc++6 \
20
20
libc-dev \
Original file line number Diff line number Diff line change 1
1
# Build Geth in a stock Go builder container
2
2
FROM golang:1.21 as builder
3
3
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
5
5
6
6
# Get dependencies - will also be cached if we won't change go.mod/go.sum
7
7
COPY go.mod /prysm/
@@ -14,7 +14,7 @@ RUN cd /prysm/cmd/validator && CGO_ENABLED=1 go build -v -o /usr/local/bin/valid
14
14
# Pull Geth into a second stage deploy container
15
15
FROM debian:buster-slim
16
16
17
- RUN apt-get update && apt-get install -y \
17
+ RUN apt-get update && apt-get install -y --no-install-recommends \
18
18
ca-certificates \
19
19
libstdc++6 \
20
20
libc-dev \
You can’t perform that action at this time.
0 commit comments