WIP moulette
This commit is contained in:
parent
f2614d286b
commit
f9ced0f1b5
2 changed files with 24 additions and 0 deletions
23
moulette/base/Dockerfile
Normal file
23
moulette/base/Dockerfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
FROM debian
|
||||
|
||||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
|
||||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
|
||||
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
containerd.io \
|
||||
docker-ce \
|
||||
docker-ce-cli \
|
||||
python \
|
||||
systemd-sysv \
|
||||
udev \
|
||||
vim.tiny \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN curl -L -o /tmp/wireguard.deb http://httpredir.debian.org/debian/pool/main/w/wireguard/wireguard-tools_0.0.20190227-1_amd64.deb && dpkg -i /tmp/wireguard.deb; rm /tmp/wireguard.deb
|
||||
|
||||
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
|
1
moulette/base/build.yml
Normal file
1
moulette/base/build.yml
Normal file
|
@ -0,0 +1 @@
|
|||
image: moulette-base
|
Loading…
Add table
Add a link
Reference in a new issue