25 lines
557 B
Docker
25 lines
557 B
Docker
FROM debian
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
busybox \
|
|
console-data \
|
|
cron \
|
|
ifupdown \
|
|
kbd \
|
|
nano \
|
|
openssh-server \
|
|
python \
|
|
ssmtp \
|
|
systemd-sysv \
|
|
udev \
|
|
vim.tiny \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN rm -rf /etc/init.d/ && \
|
|
mkdir /overlay && \
|
|
ln -sf /init /sbin/init && \
|
|
ln -sf /lib/systemd/system/systemd-netwkord.service /etc/systemd/system/multi-user.target.wants/systemd-networkd.service
|
|
|
|
COPY issue /etc/issue
|
|
COPY sshd_config /etc/ssh/sshd_config
|