2017-01-18 18:59:59 +00:00
|
|
|
FROM golang:1.7-alpine
|
2016-11-03 21:13:18 +00:00
|
|
|
|
|
|
|
RUN apk add --update \
|
|
|
|
git \
|
2017-01-18 18:59:59 +00:00
|
|
|
make \
|
|
|
|
bash \
|
2016-11-03 21:13:18 +00:00
|
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
|
2017-01-18 18:59:59 +00:00
|
|
|
ENV CGO_ENABLED=0
|
2016-11-03 21:13:18 +00:00
|
|
|
|
2017-11-27 16:51:15 +00:00
|
|
|
RUN git clone https://github.com/FiloSottile/crypto-tls-bogo-shim \
|
|
|
|
/go/src/github.com/FiloSottile/crypto-tls-bogo-shim
|
|
|
|
|
|
|
|
# Draft 18 with client-tests branch
|
|
|
|
ARG REVISION=3f5e87d6a1931b6f6930e4eadb7b2d0b2aa7c588
|
|
|
|
|
|
|
|
RUN cd /go/src/github.com/FiloSottile/crypto-tls-bogo-shim && \
|
|
|
|
git checkout $REVISION
|
|
|
|
|
2017-01-18 18:59:59 +00:00
|
|
|
WORKDIR /go/src/github.com/FiloSottile/crypto-tls-bogo-shim
|
|
|
|
CMD ["make", "run"]
|