Skip to content

Commit

Permalink
Revert "Speed up docker image build by use layer cache (#4038)" (#4054)
Browse files Browse the repository at this point in the history
This reverts commit e758fb8.
  • Loading branch information
AlexeyAkhunov authored May 3, 2022
1 parent f297a28 commit 4e683e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive --force

# In this step, this action saves a list of existing images,
# the cache is created without them in the post run.
# It also restores the cache if it exists.
- uses: satackey/[email protected]
continue-on-error: false

- run: docker build .
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ 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++

WORKDIR /app

# Get dependencies - will also be cached if we won't change go.mod/go.sum
COPY go.mod .
COPY go.sum .
RUN go mod download


ADD . .

RUN make erigon rpcdaemon integration sentry txpool downloader hack observer db-tools
Expand Down

0 comments on commit 4e683e1

Please sign in to comment.