diff --git a/Dockerfile b/Dockerfile index 66c21c5b28..00952f05ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ ARG AVALANCHE_VERSION # ============= Compilation Stage ================ -FROM golang:1.15.5-alpine AS builder -RUN apk add --no-cache bash git make gcc musl-dev linux-headers git ca-certificates g++ +FROM golang:1.15.5-buster AS builder +RUN apt-get update && apt-get install -y --no-install-recommends bash=5.0-4 git=1:2.20.1-2+deb10u3 make=4.2.1-1.2 gcc=4:8.3.0-1 musl-dev=1.1.21-2 ca-certificates=20200601~deb10u2 linux-headers-amd64=4.19+105+deb10u12 WORKDIR /build # Copy and download avalanche dependencies using go mod