This commit is contained in:
parent
896eeaeb1e
commit
4d26709bd0
1 changed files with 10 additions and 10 deletions
20
Dockerfile
20
Dockerfile
|
|
@ -1,4 +1,4 @@
|
||||||
FROM registry.fedoraproject.org/fedora-toolbox:42
|
FROM registry.fedoraproject.org/fedora-toolbox:43
|
||||||
|
|
||||||
# Basic packages
|
# Basic packages
|
||||||
RUN dnf check-update
|
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
|
RUN dnf install -y ansible dig nmap
|
||||||
|
|
||||||
# Latest Golang
|
# Latest Golang
|
||||||
RUN export GOVERSION=1.25.3 && \
|
#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 && \
|
# 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 && \
|
# rm -rf /usr/local/go && \
|
||||||
tar -C /usr/local -xzf /usr/src/go${GOVERSION}.linux-amd64.tar.gz && \
|
# tar -C /usr/local -xzf /usr/src/go${GOVERSION}.linux-amd64.tar.gz && \
|
||||||
rm -f /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/go || echo "" && \
|
||||||
unlink /usr/local/bin/gofmt || echo "" && \
|
# unlink /usr/local/bin/gofmt || echo "" && \
|
||||||
ln -s /usr/local/go/bin/go /usr/local/bin/go && \
|
# ln -s /usr/local/go/bin/go /usr/local/bin/go && \
|
||||||
ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt
|
# ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt
|
||||||
|
|
||||||
# User
|
# User
|
||||||
RUN groupadd cx -g 1000
|
RUN groupadd cx -g 1000
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue