dockerfiles/protocol/Dockerfile
James Abley c9fefef1b1 Add protocol Dockerfile (#297)
Allows for viewing and creating ASCII network packet diagrams. See
http://www.luismg.com/protocol/
2017-12-16 18:59:16 -05:00

17 lines
470 B
Docker

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"]