th5/_dev/picotls/Dockerfile
2017-09-05 21:06:34 +01:00

22 lines
408 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
ARG REVISION=a6c1c65
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"]