Skip to content
Permalink
Browse files

Build environment and require manual compile

  • Loading branch information...
Cat5TV committed Aug 19, 2019
1 parent c4491b4 commit 215cb8af6274d5a60d49e51b6810aebe53769d30
Showing with 4 additions and 5 deletions.
  1. +4 −5 notes/docker/image/Dockerfile
@@ -3,6 +3,7 @@ FROM debian:buster
ENV container docker
ENV LC_ALL C
ENV DEBIAN_FRONTEND noninteractive
VOLUME /tmp/

MAINTAINER Robbie Ferguson <nems@category5.tv>

@@ -24,15 +25,16 @@ RUN wget -O /tmp/systemctl.zip https://github.com/gdraheim/docker-systemctl-repl
mv ./files/docker/systemctl3.py /usr/local/bin/ && \
chmod +x /usr/local/bin/systemctl3.py && \
ln -s /usr/local/bin/systemctl3.py /bin/systemctl
CMD /bin/systemctl

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

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

RUN apt update && \
/root/nems/nems-admin/nems-build.sh 21
#RUN apt update && \
# /root/nems/nems-admin/nems-build.sh 21

# apache2
EXPOSE 80/tcp
@@ -42,6 +44,3 @@ EXPOSE 2812/tcp
# cockpit
EXPOSE 9090/tcp

VOLUME /tmp/

CMD /bin/systemctl

0 comments on commit 215cb8a

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