th5/_dev/picotls/Dockerfile
Peter Wu 8db472667b tris: update tests to track draft 22
Force boringssl client and server to use draft 22 instead of draft 18.
Other clients (tstclnt from NSS, picotls) support only draft 22.

Disable mint, it only supports draft 21.
2017-12-13 20:16:48 +00:00

27 lines
456 B
Docker

FROM alpine
RUN apk add --update \
git \
cmake \
build-base \
openssl-dev \
bash \
&& rm -rf /var/cache/apk/*
RUN git clone https://github.com/h2o/picotls
# Draft -18
#ARG REVISION=a6c1c65
# Draft -22
ARG REVISION=843ccdc
RUN cd picotls && git fetch && git checkout $REVISION
RUN cd picotls && git submodule update --init
RUN cd picotls && cmake . && make
ADD httpreq.txt /httpreq.txt
ADD run.sh /run.sh
ENTRYPOINT ["/run.sh"]