File tree 2 files changed +14
-4
lines changed
2 files changed +14
-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 --no-install-recommends gcc g++ libstdc++6 libc-dev musl-dev linux-headers
4
+ RUN apt-get update && apt-get install -y \
5
+ gcc \
6
+ g++ \
7
+ libstdc++6 \
8
+ libc-dev \
9
+ musl-tools
5
10
6
11
# Get dependencies - will also be cached if we won't change go.mod/go.sum
7
12
COPY go.mod /prysm/
@@ -14,7 +19,7 @@ RUN cd /prysm/cmd/beacon-chain && CGO_ENABLED=1 go build -v -o /usr/local/bin/be
14
19
# Pull Geth into a second stage deploy container
15
20
FROM debian:buster-slim
16
21
17
- RUN apt-get update && apt-get install -y --no-install-recommends \
22
+ RUN apt-get update && apt-get install -y \
18
23
ca-certificates \
19
24
libstdc++6 \
20
25
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 --no-install-recommends gcc g++ libstdc++6 libc-dev musl-dev linux-headers
4
+ RUN apt-get update && apt-get install -y \
5
+ gcc \
6
+ g++ \
7
+ libstdc++6 \
8
+ libc-dev \
9
+ musl-tools
5
10
6
11
# Get dependencies - will also be cached if we won't change go.mod/go.sum
7
12
COPY go.mod /prysm/
@@ -14,7 +19,7 @@ RUN cd /prysm/cmd/validator && CGO_ENABLED=1 go build -v -o /usr/local/bin/valid
14
19
# Pull Geth into a second stage deploy container
15
20
FROM debian:buster-slim
16
21
17
- RUN apt-get update && apt-get install -y --no-install-recommends \
22
+ RUN apt-get update && apt-get install -y \
18
23
ca-certificates \
19
24
libstdc++6 \
20
25
libc-dev \
You can’t perform that action at this time.
0 commit comments