Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Commit

Permalink
Updated node version; reduced dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoraddatz committed Oct 2, 2016
1 parent 3e68dbb commit 30c3f2e
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
FROM nodesource/jessie:5.8.0
# https://hub.docker.com/r/nodesource/jessie/tags/
FROM nodesource/jessie:6.7.0

MAINTAINER Marco Raddatz <[email protected]>

# Debugging helpers
##################################################
# Set environment variables #
##################################################
RUN alias ll='ls -alG'

# Set environment variables
##################################################
ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm

# Install tools
##################################################
# Install tools #
##################################################

RUN apt-get update
RUN apt-get install -y apt-utils apt-transport-https locales
RUN apt-get install -y curl wget git python build-essential make g++ libkrb5-dev vim net-tools nano
RUN apt-get install -y avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev

COPY avahi-daemon.conf /etc/avahi/avahi-daemon.conf
RUN alias ll='ls -alG'
RUN apt-get update; \
apt-get install -y apt-utils apt-transport-https; \
apt-get upgrade -y; \
apt-get install -y locales curl wget; \
apt-get install -y libnss-mdns avahi-discover libavahi-compat-libdnssd-dev libkrb5-dev; \
apt-get install -y nano vim

# Install Homebridge
##################################################
# Install Homebridge #
##################################################

RUN npm install -g homebridge --unsafe-perm

# Final settings
##################################################
# Start #
##################################################
COPY avahi-daemon.conf /etc/avahi/avahi-daemon.conf

USER root
RUN mkdir -p /var/run/dbus

ADD image/run.sh /root/run.sh

# Run container
##################################################
EXPOSE 51826
CMD ["/root/run.sh"]

0 comments on commit 30c3f2e

Please sign in to comment.