From c9fefef1b11bc45d6f471896b0d4708de5e5fa97 Mon Sep 17 00:00:00 2001 From: James Abley Date: Sat, 16 Dec 2017 23:59:16 +0000 Subject: [PATCH] Add protocol Dockerfile (#297) Allows for viewing and creating ASCII network packet diagrams. See http://www.luismg.com/protocol/ --- protocol/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 protocol/Dockerfile diff --git a/protocol/Dockerfile b/protocol/Dockerfile new file mode 100644 index 0000000..fc90a9c --- /dev/null +++ b/protocol/Dockerfile @@ -0,0 +1,16 @@ +FROM alpine:latest +LABEL maintainer "James Abley " + +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"]