File: Dockerfile

package info (click to toggle)
grml-debootstrap 0.123
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: sh: 2,562; python: 165; makefile: 72; ansic: 49
file content (29 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (2)
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
29
# Image to be used as a base, e.g. one of the official ones:
# https://github.com/docker-library/official-images/blob/master/library/debian
FROM debian:sid

# install packages
RUN apt-get update

# main packages
RUN apt-get install -y grml-debootstrap bats eatmydata

# convenient packages
RUN apt-get install -y curl less vim wget zsh

# grml config
RUN wget -O /root/.vimrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/vim/vimrc \
    && wget -O /root/.zshrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/zsh/zshrc

# nice defaults
ENV LANG C.UTF-8
ENV TERM xterm-256color

# be verbose about package versions
RUN echo 'APT::Get::Show-Versions "1";' > /etc/apt/apt.conf.d/verbose

# cleanup
RUN apt-get clean \
    && rm -rf /var/lib/apt/lists/*

ENTRYPOINT ["/bin/zsh"]