diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 0c013d18b..000000000 --- a/.dockerignore +++ /dev/null @@ -1,5 +0,0 @@ -**/*_test.go - -build/_workspace -build/_bin -tests/testdata diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 6c65faf12..000000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM golang:latest - -ARG BOR_DIR=/var/lib/bor -ENV BOR_DIR=$BOR_DIR - -RUN apt-get update -y && apt-get upgrade -y \ - && apt install build-essential git -y \ - && mkdir -p ${BOR_DIR} - -WORKDIR ${BOR_DIR} -COPY . . -RUN make bor - -RUN cp build/bin/bor /usr/bin/ - -ENV SHELL /bin/bash -EXPOSE 8545 8546 8547 30303 30303/udp - -ENTRYPOINT ["bor"] diff --git a/Dockerfile.alltools b/Dockerfile.alltools deleted file mode 100644 index b6bc74fd4..000000000 --- a/Dockerfile.alltools +++ /dev/null @@ -1,18 +0,0 @@ -# Build Geth in a stock Go builder container -FROM golang:1.20.5-alpine as builder - -RUN apk add --no-cache make gcc musl-dev linux-headers git - -ADD . /bor -RUN cd /bor && make bor-all - -# Pull all binaries into a second stage deploy alpine container -FROM alpine:latest - -RUN set -x \ - && apk add --update --no-cache \ - ca-certificates \ - && rm -rf /var/cache/apk/* -COPY --from=builder /bor/build/bin/* /usr/bin/ - -EXPOSE 8545 8546 30303 30303/udp