github.com/Psiphon-Labs/tls-tris@v0.0.0-20230824155421-58bf6d336a9a/_dev/boring/Dockerfile (about) 1 FROM alpine 2 3 RUN apk add --update \ 4 git \ 5 cmake \ 6 perl \ 7 python \ 8 build-base \ 9 go \ 10 ninja \ 11 && rm -rf /var/cache/apk/* 12 13 RUN git clone https://boringssl.googlesource.com/boringssl 14 15 RUN mkdir boringssl/build 16 17 # Draft 14 18 # ARG REVISION=88536c3 19 20 # Draft 15 21 # RUN cd boringssl && git fetch https://boringssl.googlesource.com/boringssl refs/changes/40/10840/18:draft15 22 # ARG REVISION=cae930d 23 24 # Draft "14.25" (sigalg renumbering) 25 # ARG REVISION=af56fbd 26 27 # Draft "14.25" w/ x25519 only 28 # ARG REVISION=c8b6b4f 29 30 # Draft "14.5" (sigalg, x25519, version ext) 31 # ARG REVISION=54afdab 32 33 # Draft 16 34 # ARG REVISION=89917a5 35 36 # Draft 18 37 # ARG REVISION=9b885c5 38 # Draft 18, but with "bssl server -loop -www" support and build fix 39 # ARG REVISION=40b24c8154 40 41 # Draft 21 42 # ARG REVISION=cd8470f 43 44 # Draft 22 45 # ARG REVISION=1530ef3e 46 47 # Draft 23 48 # ARG REVISION=cb15cfda29c0c60d8d74145b17c93b43a7667837 49 50 # Draft 28 51 # ARG REVISION=861f384d7bc59241a9df1634ae938d8e75be2d30 52 53 # TLS 1.3 54 ARG REVISION=d451453067cd665a5c38830fbbaac9e599234a5e 55 56 RUN cd boringssl && git fetch 57 RUN cd boringssl && git checkout $REVISION 58 RUN cd boringssl/build && cmake -GNinja .. 59 RUN cd boringssl && ninja -C build 60 61 ADD httpreq.txt /httpreq.txt 62 ADD run.sh /run.sh 63 ADD server.sh rsa.pem ecdsa.pem / 64 ADD client_rsa.key client_rsa.crt client_ca.crt / 65 ENTRYPOINT ["/run.sh"]