Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
setiseta committed May 31, 2015
1 parent c3b8ba7 commit 287f458
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ ENV HOME=/root \
LANGUAGE=en_US.UTF-8

COPY init.sh /etc/my_init.d/init.sh
COPY apache2.conf ports.conf /etc/apache2/
COPY apache-observium /etc/apache2/sites-available/000-default.conf
COPY apache2.sh /etc/service/apache2/run
COPY cron-observium /etc/cron.d/observium
#COPY initdb.sh /etc/my_init.d/initdb.sh
Expand All @@ -33,13 +31,12 @@ RUN \
php5-mysql php5-gd php5-mcrypt python-mysqldb rrdtool subversion whois mtr-tiny at \
nmap ipmitool graphviz imagemagick php5-snmp php-pear snmp graphviz fping libvirt-bin && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
mkdir -p /opt/observium/firstrun /data/logs /data/rrd /data/config && \
mkdir -p /data/logs /data/rrd /data/config && \
cd /opt && \
wget http://www.observium.org/observium-community-latest.tar.gz && \
tar zxvf observium-community-latest.tar.gz && \
rm observium-community-latest.tar.gz && \
php5enmod mcrypt && a2enmod rewrite && \
mkdir /etc/service/apache2 && \
rm /etc/apache2/sites-available/default-ssl.conf && \
rm -Rf /var/www && chmod +x /etc/service/apache2/run && \
chmod +x /etc/my_init.d/init.sh && \
Expand All @@ -55,6 +52,9 @@ RUN \
chown -R www-data:www-data /var/log/apache2 && \
ln -s /opt/observium/html /var/www

COPY apache2.conf ports.conf /etc/apache2/
COPY apache-observium /etc/apache2/sites-available/000-default.conf

EXPOSE 80/tcp

#VOLUME ["/config","/opt/observium/logs","/opt/observium/rrd"]
Expand Down

0 comments on commit 287f458

Please sign in to comment.