This commit is contained in:
parent
569c8fab8a
commit
896eeaeb1e
1 changed files with 11 additions and 0 deletions
11
Dockerfile
11
Dockerfile
|
@ -14,6 +14,17 @@ RUN dnf install -y golang nodejs python3-devel mycli pgcli git-lfs awscli openss
|
||||||
# Devops stuff
|
# Devops stuff
|
||||||
RUN dnf install -y ansible dig nmap
|
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
|
||||||
|
|
||||||
# User
|
# User
|
||||||
RUN groupadd cx -g 1000
|
RUN groupadd cx -g 1000
|
||||||
RUN useradd cx -u 1000 -g cx -d /var/home/cx -s /usr/bin/fish
|
RUN useradd cx -u 1000 -g cx -d /var/home/cx -s /usr/bin/fish
|
||||||
|
|
Loading…
Reference in a new issue