mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
17 lines
470 B
Docker
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"]
|