github.com/Psiphon-Labs/tls-tris@v0.0.0-20230824155421-58bf6d336a9a/_dev/bogo/Dockerfile (about)

     1  FROM golang:1.10-alpine
     2  
     3  RUN apk add --update \
     4      git \
     5      make \
     6      bash \
     7      patch \
     8      rsync \
     9    && rm -rf /var/cache/apk/*
    10  
    11  ENV CGO_ENABLED=0
    12  
    13  RUN git clone https://github.com/henrydcase/crypto-tls-bogo-shim \
    14      /go/src/github.com/henrydcase/crypto-tls-bogo-shim
    15  
    16  # Draft 18 with client-tests branch
    17  #ARG REVISION=3f5e87d6a1931b6f6930e4eadb7b2d0b2aa7c588
    18  
    19  # Draft 22 with draft22 branch
    20  #ARG REVISION=81cc32b846c9fe2ea32613287e57a6a0db7bbb9a
    21  
    22  # Draft 22 with draft22-client branch (client-tests + draft22)
    23  # ARG REVISION=f9729b5e4eafb1f1d313949388c3c2b167e84734
    24  
    25  # Draft 23
    26  #ARG REVISION=d07b9e80a87c871c2569ce4aabd06695336c5dc5
    27  
    28  # Draft 23 (+ client authentication)
    29  # ARG REVISION=cd33ad248ae9490854f0077ca046b47cac3735bf
    30  
    31  # Draft 28
    32  ARG REVISION=33204d1eaa497819c6325998d7ba6b66316790f3
    33  
    34  RUN cd /go/src/github.com/henrydcase/crypto-tls-bogo-shim && \
    35      git checkout $REVISION
    36  
    37  WORKDIR /go/src/github.com/henrydcase/crypto-tls-bogo-shim
    38  CMD ["make", "run"]