| 1 |
# Image to be used as a base, e.g. one of the official ones: |
| 2 |
# https://github.com/docker-library/official-images/blob/master/library/debian |
| 3 |
FROM debian:sid |
| 4 |
|
| 5 |
# install packages |
| 6 |
RUN apt-get update |
| 7 |
|
| 8 |
# main packages |
| 9 |
RUN apt-get install -y grml-debootstrap bats eatmydata |
| 10 |
|
| 11 |
# convenient packages |
| 12 |
RUN apt-get install -y curl less vim wget zsh |
| 13 |
|
| 14 |
# grml config |
| 15 |
RUN wget -O /root/.vimrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/vim/vimrc \ |
| 16 |
&& wget -O /root/.zshrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/zsh/zshrc |
| 17 |
|
| 18 |
# nice defaults |
| 19 |
ENV LANG C.UTF-8 |
| 20 |
ENV TERM xterm-256color |
| 21 |
|
| 22 |
# be verbose about package versions |
| 23 |
RUN echo 'APT::Get::Show-Versions "1";' > /etc/apt/apt.conf.d/verbose |
| 24 |
|
| 25 |
# cleanup |
| 26 |
RUN apt-get clean \ |
| 27 |
&& rm -rf /var/lib/apt/lists/* |
| 28 |
|
| 29 |
ENTRYPOINT ["/bin/zsh"] |