buildscripts/cosmos-build/Dockerfile

13 lines
252 B
Docker

FROM fedora:29
# Install build dependencies
RUN INSTALL_PKGS="git golang dep make" && \
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
dnf clean all -y
# GOPATH
ENV GOPATH=/go
# Inject build scripts
COPY ./scripts /build/scripts/