Add protocol Dockerfile (#297)

Allows for viewing and creating ASCII network packet diagrams. See
http://www.luismg.com/protocol/
This commit is contained in:
James Abley 2017-12-16 23:59:16 +00:00 committed by Jess Frazelle
parent 1dcfad42ae
commit c9fefef1b1

16
protocol/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM alpine:latest
LABEL maintainer "James Abley <james.abley@gmail.com>"
RUN buildDeps=' \
ca-certificates \
openssl \
' \
&& apk --no-cache add --update \
python3 \
$buildDeps \
&& wget https://github.com/luismartingarcia/protocol/archive/master.zip \
&& unzip master.zip \
&& cd protocol-master && python3 setup.py install \
&& apk del --purge $buildDeps
ENTRYPOINT ["protocol"]