Compare commits
3 Commits
65c0898bf1
...
3a32584686
Author | SHA1 | Date | |
---|---|---|---|
3a32584686 | |||
f74a961e1d | |||
380a735cd7 |
@ -2,8 +2,16 @@ FROM registry.fedoraproject.org/fedora-toolbox:39
|
||||
|
||||
# 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 echo -e "\
|
||||
[code]\n\
|
||||
name=Visual Studio Code\n\
|
||||
baseurl=https://packages.microsoft.com/yumrepos/vscode\n\
|
||||
enabled=1\n\
|
||||
gpgcheck=1\n\
|
||||
gpgkey=https://packages.microsoft.com/keys/microsoft.asc\n\
|
||||
" > /etc/yum.repos.d/vscode.repo
|
||||
|
||||
# Install packages
|
||||
RUN dnf update -y \
|
||||
&& dnf install -y \
|
||||
code \
|
||||
@ -11,29 +19,29 @@ RUN dnf update -y \
|
||||
neovim \
|
||||
pinentry \
|
||||
pipx \
|
||||
pre-commit \
|
||||
python3 \
|
||||
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 \
|
||||
pip-audit \
|
||||
ipython \
|
||||
pip-audit \
|
||||
poetry \
|
||||
&& rm -rf /root/.cache
|
||||
|
||||
# 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 \
|
||||
RUN go install github.com/cweill/gotests/gotests@latest \
|
||||
&& go install github.com/fatih/gomodifytags@latest \
|
||||
&& go install github.com/go-delve/delve/cmd/dlv@latest \
|
||||
&& go install github.com/haya14busa/goplay/cmd/goplay@latest \
|
||||
&& go install github.com/josharian/impl@latest \
|
||||
&& go install github.com/cweill/gotests/gotests@latest \
|
||||
&& go install golang.org/x/tools/gopls@latest \
|
||||
&& go install golang.org/x/vuln/cmd/govulncheck@latest \
|
||||
&& go install honnef.co/go/tools/cmd/staticcheck@latest \
|
||||
&& go clean -cache \
|
||||
&& rm -rf /root/go /root/.cache
|
||||
|
||||
ENV GOBIN=
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user