Update build environment to Fedora 36 & Go 1.19.1

This commit is contained in:
Nils Hanke 2022-09-09 15:00:36 +02:00 committed by Nils Hanke
parent b8b169c93d
commit 0949393dbb
14 changed files with 24 additions and 24 deletions

View file

@ -1,11 +1,11 @@
FROM fedora@sha256:36af84ba69e21c9ef86a0424a090674c433b2b80c2462e57503886f1d823abe8 as build
FROM fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 as build
RUN dnf -y update && \
dnf install -y iproute iputils wget git && \
dnf clean all
# Install Go
ARG GO_VER=1.18
ARG GO_VER=1.19.1
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
rm go${GO_VER}.linux-amd64.tar.gz