build: install necessary deps in docker (#15719)
This commit is contained in:
parent
43cfdfe618
commit
22f26829de
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user