Newer
Older
dhcp2MQTT / docker / Dockerfile
@Pascal Gollor Pascal Gollor on 5 Sep 2018 545 bytes container starts
FROM alpine

MAINTAINER Osbert Feng

# since 2019-09-05
MAINTAINER Pascal Gollor <kalle@pgollor.de>

# environment variables
ENV DASH_HOME /srv/dash

RUN apk update
RUN apk add scapy tcpdump
#RUN apt-get update -qq && apt-get install -qq -y python-scapy tcpdump tcpreplay wireshark python-requests
RUN rm -rf /var/cache/apk/*

# working directory
WORKDIR $DASH_HOME

# copy files
ADD dash-listen.py ./dash-listen.py
COPY docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh

ENTRYPOINT ["/docker-entrypoint.sh"]
CMD python ./dash-listen.py