...

Text file src/github.com/google/certificate-transparency-go/trillian/examples/deployment/docker/ctfe/Dockerfile

Documentation: github.com/google/certificate-transparency-go/trillian/examples/deployment/docker/ctfe

     1FROM golang:1.22.1-bookworm@sha256:6699d2852712f090399ccd4e8dfd079b4d55376f3ab3aff5b2dc8b7b1c11e27e as build
     2
     3ARG GOFLAGS=""
     4ENV GOFLAGS=$GOFLAGS
     5
     6WORKDIR /build
     7
     8COPY go.mod .
     9COPY go.sum .
    10RUN go mod download
    11COPY . .
    12
    13RUN go build ./trillian/ctfe/ct_server
    14
    15FROM gcr.io/distroless/base-debian12@sha256:5eae9ef0b97acf7de819f936e12b24976b2d54333a2cf329615366e16ba598cd
    16
    17COPY --from=build /build/ct_server /
    18
    19ENTRYPOINT ["/ct_server"]

View as plain text