File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66# 3.) $ make binaries install test
77#
88
9+ ARG GOLANG_VERSION=1.11
10+
911# Install proto3
10- FROM golang:1.11 AS proto3
12+ FROM golang:${GOLANG_VERSION} AS proto3
1113RUN apt-get update && apt-get install -y autoconf automake g++ libtool unzip
1214COPY script/setup/install-protobuf install-protobuf
1315RUN ./install-protobuf
1416
1517# Install runc
16- FROM golang:1.11 AS runc
18+ FROM golang:${GOLANG_VERSION} AS runc
1719RUN apt-get update && apt-get install -y curl libseccomp-dev
1820COPY vendor.conf /go/src/github.com/containerd/containerd/vendor.conf
1921COPY script/setup/install-runc install-runc
2022RUN ./install-runc
2123
22- FROM golang:1.11
24+ FROM golang:${GOLANG_VERSION} AS dev
2325RUN apt-get update && apt-get install -y btrfs-tools gcc git libseccomp-dev make xfsprogs
2426
2527COPY --from=proto3 /usr/local/bin/protoc /usr/local/bin/protoc
You can’t perform that action at this time.
0 commit comments