1
0
Fork 0
env/.dockerfile

66 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-03-27 23:47:53 +08:00
FROM alpine:latest
2018-04-01 21:31:06 +08:00
# create user
RUN adduser -s /bin/zsh -D ambrose
2018-04-01 17:06:16 +08:00
# install dotfiles
2018-03-30 00:13:16 +08:00
WORKDIR /home/ambrose
2018-04-01 21:31:06 +08:00
COPY --chown=ambrose:ambrose . .
2018-03-27 23:47:53 +08:00
# install tools
2018-03-27 23:47:53 +08:00
# repositories
RUN ./.install/repositories.sh
2018-04-01 17:06:16 +08:00
# system
2018-03-30 01:26:58 +08:00
RUN ./.install/core.sh
2018-04-08 22:36:35 +08:00
RUN ./.install/sdk.sh
2018-04-02 13:17:33 +08:00
RUN ./.install/sudo.sh
2018-04-01 20:46:04 +08:00
RUN ./.install/archival.sh
2019-01-16 13:39:20 +08:00
RUN ./.install/upx.sh
2019-01-15 22:25:06 +08:00
RUN ./.install/gnupg.sh
2018-03-31 11:33:07 +08:00
RUN ./.install/git.sh
2018-03-30 00:19:38 +08:00
RUN ./.install/zsh.sh
RUN ./.install/neovim-source.sh
2018-04-01 17:06:16 +08:00
# languages
2018-10-09 19:03:43 +08:00
RUN ./.install/python.sh
RUN ./.install/golang-source.sh
RUN ./.install/node-source.sh
2018-04-02 23:17:58 +08:00
#RUN ./.install/jdk.sh
2019-01-16 11:27:00 +08:00
# more system
2019-01-15 22:58:30 +08:00
RUN ./.install/docker.sh
# desktop
#RUN ./.install/desktop.sh
#RUN ./.install/firefox.sh
2018-04-01 21:12:22 +08:00
2018-04-01 21:31:06 +08:00
# switch to user
2018-03-27 23:47:53 +08:00
USER ambrose
2018-04-01 17:06:16 +08:00
# install user programs
2018-10-09 19:03:43 +08:00
# shell config
2018-10-17 10:28:55 +08:00
RUN ./.install/dircolors.sh
2018-10-09 19:03:43 +08:00
RUN ./.install/pure.sh
RUN ./.install/thefuck.sh
2018-10-09 17:39:51 +08:00
RUN ./.install/zsh-autosuggestions.sh
2018-12-02 00:19:46 +08:00
RUN ./.install/zsh-syntax-highlighting.sh
2018-10-09 19:03:43 +08:00
# editor
RUN ./.install/plug.sh
2018-04-01 21:12:22 +08:00
# tools
2018-10-09 19:03:43 +08:00
RUN ./.install/yadm.sh
2019-01-15 22:58:30 +08:00
RUN ./.install/pass.sh
2018-03-30 01:26:58 +08:00
RUN ./.install/packr.sh
2018-04-01 20:46:04 +08:00
RUN ./.install/caddy.sh
2019-01-15 23:11:27 +08:00
RUN ./.install/httpie.sh
2019-01-16 11:27:00 +08:00
RUN ./.install/jq.sh
2018-10-09 19:03:43 +08:00
RUN ./.install/kubectl.sh
2018-12-02 14:09:42 +08:00
RUN ./.install/minio-client.sh
RUN ./.install/yarn.sh
#RUN ./.install/gradlr.sh
2018-03-30 00:19:38 +08:00
# open login shell by default
2018-03-27 23:47:53 +08:00
2018-04-02 22:27:31 +08:00
CMD ["/bin/zsh", "-l"]