mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #8647 from heitbaum/go
jammy/Dockerfile needs to include the symbolic links for go-1.21
This commit is contained in:
commit
3e044ab6e6
@ -23,7 +23,10 @@ RUN apt-get install -y \
|
||||
unzip diffutils lzop make file g++-12 xfonts-utils xsltproc default-jre-headless python3 \
|
||||
libc6-dev libncurses5-dev libjson-perl libxml-parser-perl libparse-yapp-perl rdfind \
|
||||
golang-1.21-go git openssh-client \
|
||||
--no-install-recommends
|
||||
--no-install-recommends \
|
||||
&& ln -s /usr/lib/go-1.21 /usr/lib/go \
|
||||
&& ln -s /usr/lib/go-1.21/bin/go /usr/bin/go \
|
||||
&& ln -s /usr/lib/go-1.21/bin/gofmt /usr/bin/gofmt
|
||||
|
||||
RUN if [ "$(uname -m)" = "aarch64" ]; then \
|
||||
echo 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' > /etc/apt/sources.list.d/amd64.list; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user