-
Notifications
You must be signed in to change notification settings - Fork 0
/
dockerfile
24 lines (16 loc) · 833 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
FROM debian:stable-slim
RUN apt-get update && DEBIAN_FRONTEND=noninteractive\
apt-get -qq install curl net-tools iputils-ping openssh-server docker.io \
fswatch jq rsync sudo iproute2 git gettext-base python3 gnupg avahi-daemon avahi-discover libnss-mdns \
&& rm -rf /var/lib/apt/lists/*
RUN curl -L https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose
COPY ./scripts /scripts
COPY ./templates /templates
RUN chmod -R +x /scripts;
RUN /bin/bash -c "/scripts/yq.sh;"
RUN curl --location https://github.com/threefoldtech/zinit/releases/download/v0.2.10/zinit -o /sbin/zinit && \
chmod +x /sbin/zinit
RUN mkdir -p /etc/zinit;
COPY zinit /etc/zinit
ENTRYPOINT [ "/sbin/zinit", "init" ]