Dockerized BuildKit for AOSC OS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. FROM aosc/aosc-os-buildkit:latest
  2. MAINTAINER LER0ever (https://rongyi.blog)
  3. ENV HOSTNAME LER0ever-AOSC-BK
  4. ENV DEBIAN_FRONTEND noninteractive
  5. ENV SHELL /bin/zsh
  6. ENV HOME /root
  7. # Workaround AOSC STPD LocaleGen
  8. COPY locale/locale.gen /etc/locale.gen
  9. # Workaround AOSC STPD DebConf
  10. COPY apt/force_confdef /etc/apt/apt.conf.d/force_confdef
  11. COPY apt/no_immediate_conf /etc/apt/apt.conf.d/no_immediate_conf
  12. # Enable Testing Repo
  13. COPY apt/sources.list /etc/apt/sources.list
  14. RUN rm -f /var/lib/apt/gen/enabled
  15. # Full upgrade
  16. RUN apt update && \
  17. apt full-upgrade -y
  18. RUN apt install the-silver-searcher ctags fzf -y
  19. # EverVim minimal
  20. # With aosc.vim plugin installed by default
  21. COPY vim/EverVim.vimrc $HOME/.EverVim.vimrc
  22. COPY vim/EverVim.bundles $HOME/.EverVim.bundles
  23. RUN apt install neovim -y && \
  24. curl -sLf https://raw.githubusercontent.com/LER0ever/EverVim/master/Boot-EverVim.sh | bash && \
  25. echo -e "Installing EverVim Distribution ...\n" && \
  26. nvim --headless +PlugInstall +qa &> /dev/null
  27. # ZSH
  28. RUN apt install zsh thefuck -y && \
  29. sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  30. COPY zsh/zshrc $HOME/.zshrc
  31. COPY zsh/void-mod.zsh-theme $HOME/.oh-my-zsh/custom/themes/
  32. # Git config
  33. COPY git/gitconfig $HOME/.gitconfig
  34. COPY git/gitignore_global $HOME/.gitignore_global
  35. # Autobuild config
  36. COPY acbs/ab3cfg.sh /etc/autobuild/ab3cfg.sh
  37. COPY acbs/forest.conf /etc/acbs/forest.conf
  38. # Default to abbs
  39. WORKDIR /workdir
  40. CMD [ "/bin/zsh" ]