-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·34 lines (26 loc) · 947 Bytes
/
Dockerfile
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
30
31
32
33
34
FROM minimum2scp/systemd-stretch
MAINTAINER nicx
# Set environment variables
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm
# Install dependencies and tools
RUN git config --global user.email "[email protected]" && git config --global user.name "nicx"
RUN apt-get update
RUN apt-get -y dist-upgrade
RUN apt-get -y install apt-utils apt-transport-https
RUN apt-get -y install curl wget gnupg2 udev
RUN apt-get -y install nano vim
RUN wget -q -O - https://www.debmatic.de/debmatic/public.key | apt-key add -
RUN bash -c 'echo "deb https://www.debmatic.de/debmatic stable main" > /etc/apt/sources.list.d/debmatic.list'
RUN apt-get -y update
#RUN apt-get -y install linux-headers-$(uname -r)
RUN apt-get -y install pivccu-modules-dkms
#RUN reboot
# Install latest Debmatic
#RUN apt-get -y install debmatic
# Run container
USER root
ADD image/run.sh /root/run.sh
EXPOSE 80
CMD ["/root/run.sh"]