go1.13.4 (released 2019/10/31) includes fixes to the net/http and syscall packages. It also fixes an issue on macOS 10.15 Catalina where the non- notarized installer and binaries were being rejected by Gatekeeper. See the Go 1.13.4 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.13.4 Update to Golang 1.13.3: go1.13.3 (released 2019/10/17) includes fixes to the go command, the toolchain, the runtime, syscall, net, net/http, and crypto/ecdsa packages. See the Go 1.13.3 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.13.3 Update to Golang 1.13.2: go1.13.2 (released 2019/10/17) includes security fixes to the crypto/dsa package and the compiler. See the Go 1.13.2 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.13.2 Update to Golang 1.13.1: go1.13.1 (released 2019/09/25) includes security fixes to the net/http and net/textproto packages. See the Go 1.13.1 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.13.1 Update to Golang 1.13.0: Full diff: https://github.com/golang/go/compare/go1.12.9...go1.13 Milestone: https://github.com/golang/go/milestone/83?closed=1 Today the Go team is very happy to announce the release of Go 1.13. You can get it from the download page. Some of the highlights include: - The go command now downloads and authenticates modules using the Go module mirror and Go checksum database by default (https://golang.org/doc/go1.13#introduction) - Improvements to number literals (https://golang.org/doc/go1.13#language) - Error wrapping (https://golang.org/doc/go1.13#error_wrapping) - TLS 1.3 on by default (https://golang.org/doc/go1.13#tls_1_3) - Improved modules support (https://golang.org/doc/go1.13#modules) For the complete list of changes and more information about the improvements above, see the Go 1.13 release notes: https://golang.org/doc/go1.13 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
56 lines
1.3 KiB
Docker
56 lines
1.3 KiB
Docker
# This dockerfile is used to test containerd within a container
|
|
#
|
|
# usage:
|
|
# 1.) docker build -t containerd-test -f Dockerfile.test ../
|
|
# 2.) docker run -it --privileged -v /tmp:/tmp --tmpfs /var/lib/containerd-test containerd-test bash
|
|
# 3.) $ make binaries install test
|
|
#
|
|
|
|
ARG GOLANG_VERSION=1.13.4
|
|
|
|
FROM golang:${GOLANG_VERSION} AS golang-base
|
|
RUN mkdir -p /go/src/github.com/containerd/containerd
|
|
WORKDIR /go/src/github.com/containerd/containerd
|
|
|
|
# Install proto3
|
|
FROM golang-base AS proto3
|
|
RUN apt-get update && apt-get install -y \
|
|
autoconf \
|
|
automake \
|
|
g++ \
|
|
libtool \
|
|
unzip \
|
|
--no-install-recommends
|
|
|
|
COPY script/setup/install-protobuf install-protobuf
|
|
RUN ./install-protobuf
|
|
|
|
# Install runc
|
|
FROM golang-base AS runc
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
libseccomp-dev \
|
|
--no-install-recommends
|
|
|
|
COPY vendor.conf vendor.conf
|
|
COPY script/setup/install-runc install-runc
|
|
ARG GOPROXY=direct
|
|
ARG GO111MODULE=off
|
|
RUN ./install-runc
|
|
|
|
FROM golang-base AS dev
|
|
RUN apt-get update && apt-get install -y \
|
|
btrfs-tools \
|
|
gcc \
|
|
git \
|
|
libseccomp-dev \
|
|
make \
|
|
xfsprogs \
|
|
--no-install-recommends
|
|
|
|
COPY --from=proto3 /usr/local/bin/protoc /usr/local/bin/protoc
|
|
COPY --from=proto3 /usr/local/include/google /usr/local/include/google
|
|
COPY --from=runc /usr/local/sbin/runc /usr/local/go/bin/runc
|
|
|
|
COPY . .
|