github.com/Psiphon-Labs/tls-tris@v0.0.0-20230824155421-58bf6d336a9a/_dev/picotls/Dockerfile (about) 1 FROM alpine 2 3 RUN apk add --update \ 4 git \ 5 cmake \ 6 build-base \ 7 openssl-dev \ 8 bash \ 9 && rm -rf /var/cache/apk/* 10 11 RUN git clone https://github.com/h2o/picotls 12 13 # Draft -18 14 #ARG REVISION=a6c1c65 15 16 # Draft -22 17 ARG REVISION=843ccdc 18 19 RUN cd picotls && git fetch && git checkout $REVISION 20 21 RUN cd picotls && git submodule update --init 22 RUN cd picotls && cmake . && make 23 24 ADD httpreq.txt /httpreq.txt 25 ADD run.sh /run.sh 26 ENTRYPOINT ["/run.sh"]