Skip to content

Commit

Permalink
Build environment and require manual compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat5TV committed Aug 19, 2019
1 parent c4491b4 commit 215cb8a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions notes/docker/image/Dockerfile
Expand Up @@ -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>

Expand All @@ -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
Expand All @@ -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.