Skip to content
Permalink
Browse files

Add files via upload

  • Loading branch information...
Cat5TV committed Aug 18, 2019
1 parent 1eb5f12 commit aecae94d20fdc0b4f334e6b6214e009630140eaf
Showing with 46 additions and 0 deletions.
  1. +41 −0 notes/docker/image/Dockerfile
  2. +5 −0 notes/docker/image/sources.list
@@ -0,0 +1,41 @@
FROM debian:buster

ENV container docker
ENV LC_ALL C
ENV DEBIAN_FRONTEND noninteractive

MAINTAINER Robbie Ferguson <nems@category5.tv>

# add contrib, non-free and backports repositories
ADD sources.list /etc/apt/sources.list

RUN apt-get update && \
apt-get install -y apt-utils

RUN apt-get update && \
apt-get install -y systemd \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN rm -f /lib/systemd/system/multi-user.target.wants/* \
/etc/systemd/system/*.wants/* \
/lib/systemd/system/local-fs.target.wants/* \
/lib/systemd/system/sockets.target.wants/*udev* \
/lib/systemd/system/sockets.target.wants/*initctl* \
/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup* \
/lib/systemd/system/systemd-update-utmp*


RUN apt-get update && \
apt-get install -y ca-certificates wget ssl-cert git

RUN /usr/sbin/make-ssl-cert generate-default-snakeoil --force-overwrite

VOLUME [ "/sys/fs/cgroup" ]

CMD ["/lib/systemd/systemd"]

RUN wget --no-check-certificate -O /tmp/nems-prep.sh https://raw.githubusercontent.com/Cat5TV/nems-admin/master/nems-prep.sh && \
chmod +x /tmp/nems-prep.sh && \
/tmp/nems-prep.sh

@@ -0,0 +1,5 @@
deb http://http.debian.net/debian buster main contrib non-free
deb http://http.debian.net/debian buster-backports main contrib non-free
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free

0 comments on commit aecae94

Please sign in to comment.
You can’t perform that action at this time.