mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-04-19 20:17:19 +00:00
tools/docker/focal: update Dockerfile to use golang-1.20
This commit is contained in:
parent
0e45e470c4
commit
1be3607fa6
@ -20,10 +20,12 @@ RUN adduser --disabled-password --gecos '' docker \
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl bash bc gcc-10 sed patch patchutils tar bzip2 gzip xz-utils zstd perl gawk gperf zip \
|
||||
unzip diffutils lzop make file g++-10 xfonts-utils xsltproc default-jre-headless python3 \
|
||||
libc6-dev libncurses5-dev libjson-perl libxml-parser-perl libparse-yapp-perl \
|
||||
golang-1.18-go git openssh-client rsync \
|
||||
libc6-dev libncurses5-dev libjson-perl libxml-parser-perl libparse-yapp-perl rdfind \
|
||||
golang-1.20-go git openssh-client rsync \
|
||||
--no-install-recommends \
|
||||
&& ln -s /usr/lib/go-1.18 /usr/lib/go \
|
||||
&& ln -s /usr/lib/go-1.20 /usr/lib/go \
|
||||
&& ln -s /usr/lib/go-1.20/bin/go /usr/bin/go \
|
||||
&& ln -s /usr/lib/go-1.20/bin/gofmt /usr/bin/gofmt \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user