mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-01 22:57:29 -04:00
unix/linux: update Dockerfile to Kernel 5.11, glibc 2.33, Go 1.16
The FS_POLICY_FLAGS_VALID const is kernel-internal and was removed from the UAPI headers in https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux/+/3ceb6543e9cf6ed87cc1fbc6f23ca2db903564cd Change-Id: I21b1efe895fbd7f640a7604805cf7ce39c5a43f4 Reviewed-on: https://go-review.googlesource.com/c/sys/+/291637 Trust: Tobias Klauser <tobias.klauser@gmail.com> Trust: Matt Layher <mdlayher@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
committed by
Tobias Klauser
parent
ed5674b6da
commit
b926d437f3
@@ -15,15 +15,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
# Get the git sources. If not cached, this takes O(5 minutes).
|
||||
WORKDIR /git
|
||||
RUN git config --global advice.detachedHead false
|
||||
# Linux Kernel: Released 13 Dec 2020
|
||||
RUN git clone --branch v5.10 --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
|
||||
# GNU C library: Released 06 Aug 2020 (we should try to get a secure way to clone this)
|
||||
RUN git clone --branch release/2.32/master --depth 1 git://sourceware.org/git/glibc.git
|
||||
# Linux Kernel: Released 14 Feb 2021
|
||||
RUN git clone --branch v5.11 --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
|
||||
# GNU C library: Released 01 Feb 2021 (we should try to get a secure way to clone this)
|
||||
RUN git clone --branch release/2.33/master --depth 1 git://sourceware.org/git/glibc.git
|
||||
|
||||
# Get Go
|
||||
ENV GOLANG_VERSION 1.16beta1
|
||||
ENV GOLANG_VERSION 1.16
|
||||
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
|
||||
ENV GOLANG_DOWNLOAD_SHA256 3931a0d493d411d6c697df6f15d5292fdd8031fde7014fded399effdad4c12d8
|
||||
ENV GOLANG_DOWNLOAD_SHA256 013a489ebb3e24ef3d915abe5b94c3286c070dfe0818d5bca8108f1d6e8440d2
|
||||
|
||||
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
|
||||
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
|
||||
|
||||
Reference in New Issue
Block a user