diff --git a/Dockerfile b/Dockerfile index d9c80faa13..2af186b6ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,11 @@ # # This image is pushed to the GHCR as https://ghcr.io/cosmos/simapp -# bullseye already comes with build dependencies, so we don't need anything extra to install -FROM --platform=$BUILDPLATFORM golang:1.20-bullseye AS build-env +FROM golang:1.20-alpine AS build-env + +# Install minimum necessary dependencies +ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev +RUN apk add --no-cache $PACKAGES # Set working directory for the build WORKDIR /go/src/github.com/cosmos/cosmos-sdk