mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Docker: use recommended way to install gcc (by build-base package) (#4134)
This commit is contained in:
parent
1b82acd7ff
commit
0929df8915
@ -5,7 +5,6 @@
|
||||
**/*.dSYM
|
||||
|
||||
build
|
||||
tests/testdata
|
||||
tests/.git
|
||||
tests
|
||||
cmd/prometheus
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM docker.io/library/golang:1.18-alpine3.15 AS builder
|
||||
|
||||
RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgcc libstdc++
|
||||
RUN apk --no-cache add build-base linux-headers git bash ca-certificates libstdc++
|
||||
|
||||
WORKDIR /app
|
||||
ADD . .
|
||||
@ -10,7 +10,7 @@ RUN make erigon rpcdaemon integration sentry txpool downloader hack observer db-
|
||||
|
||||
FROM docker.io/library/alpine:3.15
|
||||
|
||||
RUN apk add --no-cache ca-certificates libgcc libstdc++ tzdata
|
||||
RUN apk add --no-cache ca-certificates libstdc++ tzdata
|
||||
COPY --from=builder /app/build/bin/* /usr/local/bin/
|
||||
|
||||
RUN adduser -H -u 1000 -g 1000 -D erigon
|
||||
|
Loading…
Reference in New Issue
Block a user