mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
cd706d5081
* save state * torrent experiments * torrent experiment passed * fixes after merge * snapshot headers processing passed * save state * save state * download headers works after snapshot processing * save state * save state * save state * save state * add lazy load tx to snapshots, increase number of trackers * save state * speedup getting info * change logging * move to turbo package * save state * save state * save state * cleanup * save state * add test test * save state * lmdb debugging * fix readonly mode * save state * fix build * sync works * save state * save state * save state * allow cmd stages stageSenders use snapshots * debugging failed hashing * remove experimental tests * remove torrent experimental tests * fix lint * extract snapshot wrapper * metainfo checker * add remote seeder * add logs * update gomod * remove useless code * fix lint&remove useless code * extract verify snapshot to separated command * skip debug test * fix test * change type of seedSnapshot flag * add eth logger to torrent lib * skip debug test * add Close method * review fixes * fix lint * tidy mods * Fix compile * Fix lint * Fix rpcdaemon running in the docker Co-authored-by: b00ris <b00ris@mail.ru> Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
23 lines
710 B
Docker
23 lines
710 B
Docker
FROM golang:1.15-alpine3.12 as builder
|
|
|
|
RUN apk add --no-cache make gcc g++ linux-headers git
|
|
|
|
WORKDIR /app
|
|
|
|
# next 2 lines helping utilize docker cache
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
# https://github.com/valyala/gozstd/issues/20#issuecomment-557499034
|
|
RUN GOZSTD_VER=$(cat go.mod | fgrep github.com/valyala/gozstd | awk '{print $NF}'); cd ${GOPATH}/pkg/mod/github.com/valyala/gozstd@${GOZSTD_VER}; if [[ ! -f _rebuilt ]]; then chmod -R +w .; make -j1 clean; make -j1 libzstd.a; touch _rebuilt; fi;
|
|
|
|
ADD . .
|
|
RUN make all
|
|
|
|
FROM alpine:3.12
|
|
|
|
RUN apk add --no-cache ca-certificates libgcc libstdc++
|
|
COPY --from=builder /app/build/bin/* /usr/local/bin/
|
|
|
|
EXPOSE 8545 8546 30303 30303/udp 8080 9090 6060
|