new package for tuto2 base image
This commit is contained in:
parent
9225becbc0
commit
4516a839ac
4 changed files with 138 additions and 0 deletions
21
pkg/debian-tuto2/Dockerfile
Normal file
21
pkg/debian-tuto2/Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM debian
|
||||
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
busybox \
|
||||
cron \
|
||||
ifupdown \
|
||||
nano \
|
||||
openssh-server \
|
||||
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
|
||||
Reference in a new issue