Sign inSign up

letsencrypt/ct-test-srv

By letsencrypt

•Updated over 4 years ago
Archived

A stub CT log that implements the RFC 6962 add-pre-chain and add-chain endpoints

Image
0

314

letsencrypt/ct-test-srv repository overview

Here's the Dockerfile

FROM golang:1.17 as build
ADD . /go/src/github.com/letsencrypt/boulder/
WORKDIR /go/src/github.com/letsencrypt/boulder/test/ct-test-srv
ENV GO111MODULE=on
RUN go mod download
RUN go get .

FROM gcr.io/distroless/base
LABEL maintainer="Let's Encrypt SRE"
COPY --from=build /go/bin/ct-test-srv /
ENTRYPOINT ["/ct-test-srv", "-config", "/config/config.json"]

Building a new container

git clone https://github.com/letsencrypt/boulder
cd boulder

# Put the Dockerfile down

# Build the container
sudo docker build . -t letsencrypt/ct-test-srv

# Verify that it works
sudo docker run -v $(pwd)/config.json:/config/config.json -i ct-test-srv

# Push to dockerhub
sudo docker login
sudo docker push letsencrypt/ct-test-srv:latest

Tag summary

Content type

Image

Digest

Size

16.6 MB

Last updated

over 4 years ago

docker pull letsencrypt/ct-test-srv