mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-09 10:47:35 +00:00
14 lines
389 B
Docker
14 lines
389 B
Docker
FROM fedora:latest
|
|
|
|
ENV GOPATH=/go
|
|
ENV PATH=/go/bin:$PATH
|
|
|
|
RUN dnf -y install make git unzip golang wget
|
|
RUN go get -u -v golang.org/x/tools/cmd/...
|
|
RUN wget https://github.com/google/protobuf/releases/download/v3.0.2/protoc-3.0.2-linux-x86_64.zip && \
|
|
mkdir protoc && \
|
|
unzip protoc-3.0.2-linux-x86_64.zip -d protoc/ && \
|
|
mv protoc/bin/protoc /usr/bin && \
|
|
rm -rf protoc
|
|
|