Skip to content
Permalink
Browse files

Compile first, setup persistence

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

# Setup our data persistence
#VOLUME /tmp/
VOLUME /usr/local/
VOLUME /var/log/
VOLUME /var/www/
VOLUME /usr/lib/nagios/
VOLUME /etc/nems/

MAINTAINER Robbie Ferguson <nems@category5.tv>

@@ -14,7 +21,7 @@ RUN apt-get update && \

# Install a few prerequisites
RUN apt-get update && \
apt-get install -y ca-certificates wget ssl-cert git unzip make python3
apt-get install -y ca-certificates wget ssl-cert git unzip make python3 procps

# Setup faux systemctl environment
RUN wget -O /tmp/systemctl.zip https://github.com/gdraheim/docker-systemctl-replacement/archive/v1.4.3000.zip && \
@@ -33,13 +40,14 @@ RUN wget --no-check-certificate -O /tmp/nems-prep.sh https://raw.githubuserconte
chmod +x /tmp/nems-prep.sh && \
/tmp/nems-prep.sh

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

# SSH
EXPOSE 22/tcp
# apache2
EXPOSE 80/tcp
EXPOSE 443/tcp
# monit
EXPOSE 2812/tcp
# cockpit
EXPOSE 9090/tcp

RUN /root/nems/nems-admin/nems-build.sh 21

0 comments on commit 3de5fd8

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