-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgo.Dockerfile
28 lines (21 loc) · 889 Bytes
/
go.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM golang:1.24.0-bookworm
WORKDIR /root
USER root
ENV ZIM_HOME=/root/.zim
# zsh install
RUN apt-get update && apt-get install -y zsh git vim rsync zip
SHELL ["/bin/zsh", "-c"]
# zim install
RUN curl -fsSL https://raw.githubusercontent.com/zimfw/install/ed996bec519610a171a2c56dc14f324e9cc10281/install.zsh | zsh
RUN sh -c "$(curl -fsLS get.chezmoi.io)"
RUN mv ./bin/chezmoi /usr/local/bin/chezmoi
RUN chezmoi init --apply https://github.com/walnuts1018/dotfiles
RUN rm .gitconfig
RUN go install golang.org/x/tools/[email protected]
RUN go install github.com/cweill/gotests/[email protected]
RUN go install github.com/fatih/[email protected]
RUN go install github.com/josharian/impl@latest
RUN go install github.com/haya14busa/goplay/cmd/[email protected]
RUN go install github.com/go-delve/delve/cmd/[email protected]
RUN go install honnef.co/go/tools/cmd/[email protected]
CMD ["/bin/zsh"]