DockerHub support (#2325)

This commit is contained in:
Alex Sharov 2021-07-09 16:40:11 +07:00 committed by GitHub
parent 3347068dc5
commit 3fcb6187f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -3,8 +3,9 @@ FROM golang:1.16-alpine3.13 as builder
RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgcc libstdc++
WORKDIR /app
ADD . .
RUN make erigon rpcdaemon integration sentry
RUN make all
FROM alpine:3.13

4
hooks/post_checkout Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# Docker hub does a recursive clone, then checks the branch out,
# so when a PR adds a submodule (or updates it), it fails.
git submodule update --init