Switch to Fedora 43
Some checks failed
Build and Push / build-and-push (push) Has been cancelled

This commit is contained in:
Adam Štrauch 2025-10-24 16:57:41 +02:00
parent 896eeaeb1e
commit 4d26709bd0
Signed by: cx
GPG key ID: 7262DAFE292BCE20

View file

@ -1,4 +1,4 @@
FROM registry.fedoraproject.org/fedora-toolbox:42
FROM registry.fedoraproject.org/fedora-toolbox:43
# Basic packages
RUN dnf check-update
@ -15,15 +15,15 @@ RUN dnf install -y golang nodejs python3-devel mycli pgcli git-lfs awscli openss
RUN dnf install -y ansible dig nmap
# Latest Golang
RUN export GOVERSION=1.25.3 && \
wget -O /usr/src/go${GOVERSION}.linux-amd64.tar.gz https://go.dev/dl/go${GOVERSION}.linux-amd64.tar.gz && \
rm -rf /usr/local/go && \
tar -C /usr/local -xzf /usr/src/go${GOVERSION}.linux-amd64.tar.gz && \
rm -f /usr/src/go${GOVERSION}.linux-amd64.tar.gz && \
unlink /usr/local/bin/go || echo "" && \
unlink /usr/local/bin/gofmt || echo "" && \
ln -s /usr/local/go/bin/go /usr/local/bin/go && \
ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt
#RUN export GOVERSION=1.25.3 && \
# wget -O /usr/src/go${GOVERSION}.linux-amd64.tar.gz https://go.dev/dl/go${GOVERSION}.linux-amd64.tar.gz && \
# rm -rf /usr/local/go && \
# tar -C /usr/local -xzf /usr/src/go${GOVERSION}.linux-amd64.tar.gz && \
# rm -f /usr/src/go${GOVERSION}.linux-amd64.tar.gz && \
# unlink /usr/local/bin/go || echo "" && \
# unlink /usr/local/bin/gofmt || echo "" && \
# ln -s /usr/local/go/bin/go /usr/local/bin/go && \
# ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt
# User
RUN groupadd cx -g 1000