2024-02-01 13:27:18 +00:00
FROM registry.fedoraproject.org/fedora-toolbox:39
2024-02-01 15:03:31 +00:00
# Install vscode repo
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc
RUN sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc"> /etc/yum.repos.d/vscode.repo'
RUN dnf update -y \
&& dnf install -y \
code \
golang \
2024-02-01 13:27:18 +00:00
neovim \
2024-02-01 15:03:31 +00:00
pinentry \
pipx \
2024-02-01 13:27:18 +00:00
python3 \
2024-02-01 15:03:31 +00:00
zsh \
&& dnf clean -y all
# Install some python tools
RUN PIPX_HOME = /usr/local/lib/pipx PIPX_BIN_DIR = /usr/local/bin pipx install \
poetry \
2024-02-01 15:23:52 +00:00
pip-audit \
2024-02-01 15:43:59 +00:00
ipython \
&& rm -rf /root/.cache
2024-02-01 15:03:31 +00:00
# Install some go tools
ENV GOBIN = /usr/local/bin
RUN go install github.com/haya14busa/goplay/cmd/goplay@latest \
&& go install github.com/go-delve/delve/cmd/dlv@latest \
&& go install golang.org/x/tools/gopls@latest \
&& go install honnef.co/go/tools/cmd/staticcheck@latest \
&& go install github.com/fatih/gomodifytags@latest \
&& go install github.com/josharian/impl@latest \
&& go install github.com/cweill/gotests/gotests@latest \
2024-02-01 15:23:01 +00:00
&& go install golang.org/x/vuln/cmd/govulncheck@latest \
2024-02-01 15:43:59 +00:00
&& go clean -cache \
&& rm -rf /root/go /root/.cache
2024-02-01 13:27:18 +00:00
2024-02-01 15:03:31 +00:00
ENV GOBIN =