Improve vscode container
This commit is contained in:
parent
ea00026f8a
commit
a36ec3c19b
@ -1,8 +1,35 @@
|
|||||||
FROM registry.fedoraproject.org/fedora-toolbox:39
|
FROM registry.fedoraproject.org/fedora-toolbox:39
|
||||||
|
|
||||||
RUN dnf install -y \
|
# Install vscode repo
|
||||||
zsh \
|
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
||||||
neovim \
|
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'
|
||||||
python3 \
|
|
||||||
golang
|
RUN dnf update -y \
|
||||||
|
&& dnf install -y \
|
||||||
|
code \
|
||||||
|
golang \
|
||||||
|
neovim \
|
||||||
|
pinentry \
|
||||||
|
pipx \
|
||||||
|
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 \
|
||||||
|
ipython
|
||||||
|
|
||||||
|
# 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 \
|
||||||
|
&& rm -rf /root/go
|
||||||
|
|
||||||
|
ENV GOBIN=
|
||||||
|
|
||||||
|
12
README.md
12
README.md
@ -1,7 +1,15 @@
|
|||||||
# toolboxes
|
# toolboxes
|
||||||
|
|
||||||
Different containers for use with `toolbox`
|
Different containers for use with `toolbox` / `distrobox`
|
||||||
|
|
||||||
## Images
|
## Images
|
||||||
|
|
||||||
TODO
|
### vscode
|
||||||
|
|
||||||
|
Contains vscode, python and golang, as well as some commonly used
|
||||||
|
tools.
|
||||||
|
|
||||||
|
To install:
|
||||||
|
|
||||||
|
`podman pull git.t-juice.club/torjus/toolboxes/vscode:latest`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user