dockerfiles/protocol/Dockerfile

17 lines
470 B
Docker
Raw Normal View History

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