feat: upgrade Go to version 1.14.1

Fixes #1934

See talos-systems/pkgs#106, talos-systems/tools#90

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This commit is contained in:
Andrey Smirnov 2020-03-20 19:31:12 +03:00 committed by Andrey Smirnov
parent 2f4ccfda9a
commit a1350aa819
2 changed files with 20 additions and 20 deletions

View File

@ -244,29 +244,29 @@ COPY --from=osctl-darwin-build /osctl-darwin-amd64 /osctl-darwin-amd64
# The kernel target is the linux kernel.
FROM scratch AS kernel
COPY --from=docker.io/autonomy/kernel:619022a /boot/vmlinuz /vmlinuz
COPY --from=docker.io/autonomy/kernel:619022a /boot/vmlinux /vmlinux
COPY --from=docker.io/autonomy/kernel:08adc10 /boot/vmlinuz /vmlinuz
COPY --from=docker.io/autonomy/kernel:08adc10 /boot/vmlinux /vmlinux
# The rootfs target provides the Talos rootfs.
FROM build AS rootfs-base
COPY --from=docker.io/autonomy/fhs:619022a / /rootfs
COPY --from=docker.io/autonomy/ca-certificates:619022a / /rootfs
COPY --from=docker.io/autonomy/containerd:619022a / /rootfs
COPY --from=docker.io/autonomy/dosfstools:619022a / /rootfs
COPY --from=docker.io/autonomy/eudev:619022a / /rootfs
COPY --from=docker.io/autonomy/iptables:619022a / /rootfs
COPY --from=docker.io/autonomy/libressl:619022a / /rootfs
COPY --from=docker.io/autonomy/libseccomp:619022a / /rootfs
COPY --from=docker.io/autonomy/musl:619022a / /rootfs
COPY --from=docker.io/autonomy/runc:619022a / /rootfs
COPY --from=docker.io/autonomy/socat:619022a / /rootfs
COPY --from=docker.io/autonomy/syslinux:619022a / /rootfs
COPY --from=docker.io/autonomy/xfsprogs:619022a / /rootfs
COPY --from=docker.io/autonomy/util-linux:619022a /lib/libblkid.* /rootfs/lib
COPY --from=docker.io/autonomy/util-linux:619022a /lib/libuuid.* /rootfs/lib
COPY --from=docker.io/autonomy/kmod:619022a /usr/lib/libkmod.* /rootfs/lib
COPY --from=docker.io/autonomy/kernel:619022a /lib/modules /rootfs/lib/modules
COPY --from=docker.io/autonomy/fhs:08adc10 / /rootfs
COPY --from=docker.io/autonomy/ca-certificates:08adc10 / /rootfs
COPY --from=docker.io/autonomy/containerd:08adc10 / /rootfs
COPY --from=docker.io/autonomy/dosfstools:08adc10 / /rootfs
COPY --from=docker.io/autonomy/eudev:08adc10 / /rootfs
COPY --from=docker.io/autonomy/iptables:08adc10 / /rootfs
COPY --from=docker.io/autonomy/libressl:08adc10 / /rootfs
COPY --from=docker.io/autonomy/libseccomp:08adc10 / /rootfs
COPY --from=docker.io/autonomy/musl:08adc10 / /rootfs
COPY --from=docker.io/autonomy/runc:08adc10 / /rootfs
COPY --from=docker.io/autonomy/socat:08adc10 / /rootfs
COPY --from=docker.io/autonomy/syslinux:08adc10 / /rootfs
COPY --from=docker.io/autonomy/xfsprogs:08adc10 / /rootfs
COPY --from=docker.io/autonomy/util-linux:08adc10 /lib/libblkid.* /rootfs/lib
COPY --from=docker.io/autonomy/util-linux:08adc10 /lib/libuuid.* /rootfs/lib
COPY --from=docker.io/autonomy/kmod:08adc10 /usr/lib/libkmod.* /rootfs/lib
COPY --from=docker.io/autonomy/kernel:08adc10 /lib/modules /rootfs/lib/modules
COPY --from=machined /machined /rootfs/sbin/init
COPY --from=apid-image /apid.tar /rootfs/usr/images/
COPY --from=ntpd-image /ntpd.tar /rootfs/usr/images/

View File

@ -7,7 +7,7 @@ REGISTRY_AND_USERNAME := $(REGISTRY)/$(USERNAME)
DOCKER_LOGIN_ENABLED ?= true
ARTIFACTS := _out
TOOLS ?= autonomy/tools:v0.1.0-2-g4d7ce7d
TOOLS ?= autonomy/tools:v0.1.0-3-g84e76d6
GO_VERSION ?= 1.14
OPERATING_SYSTEM := $(shell uname -s | tr "[:upper:]" "[:lower:]")
OSCTL_DEFAULT_TARGET := osctl-$(OPERATING_SYSTEM)