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