mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 01:27:38 +00:00
mount caches when building db-tools (#6668)
minor improvement to the Dockerfile
This commit is contained in:
parent
20a4ae4ffb
commit
2356b5a3f1
@ -27,7 +27,10 @@ ADD go.sum go.sum
|
||||
|
||||
RUN mkdir -p /app/build/bin
|
||||
|
||||
RUN make db-tools
|
||||
RUN --mount=type=cache,target=/root/.cache \
|
||||
--mount=type=cache,target=/tmp/go-build \
|
||||
--mount=type=cache,target=/go/pkg/mod \
|
||||
make db-tools
|
||||
|
||||
FROM docker.io/library/alpine:3.16
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user