-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile-debian-minimal
25 lines (18 loc) · 1.17 KB
/
Dockerfile-debian-minimal
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
# This is a "minimal" variant of ./Dockerfile-debian that is only used for testing during fast iterative development.
# Remember to update SUSE repository when upgrading :bullseye
FROM debian:bullseye
## The debian container doesn't come with sudo, so for apt-install.sh which uses sudo to work as everywhere else we install it:
# RUN apt-get update
# RUN apt install -y sudo
# COPY *.sh /var/local/vorburger-dotfiles/
# RUN /var/local/vorburger-dotfiles/apt-install.sh 11
RUN apt-get update && apt install -y curl gpg
RUN curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_11/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null
RUN echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_11/ /' | tee /etc/apt/sources.list.d/shells:fish:release:3.list
RUN apt-get update && apt install -y fish git
COPY *.sh /var/local/vorburger-dotfiles/
COPY dotfiles /var/local/vorburger-dotfiles/dotfiles/
RUN /var/local/vorburger-dotfiles/symlink-homefree.sh
# COPY etc/profile.d/* /var/local/vorburger-dotfiles/etc/profile.d/
# RUN echo "hello, world from /etc/profile" >>/etc/profile
ENTRYPOINT fish