Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #1047 from cloudflare/cbroglie/modules
Migrate to Go modules
- Loading branch information
Showing
251 changed files
with
9,778 additions
and
120,480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
dist/* | ||
cli/serve/static.rice-box.go | ||
.coverprofile | ||
coverprofile.txt | ||
gopath | ||
coverage.txt | ||
profile.out | ||
bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM golang:1.13.3-alpine3.10@sha256:40278d43a27b6e0563fcc4dd52c991a25741b1a775402aea342ab9a80158e69e as builder | ||
|
||
WORKDIR /workdir | ||
COPY . /workdir | ||
|
||
RUN set -x && \ | ||
apk --no-cache add git gcc libc-dev make | ||
|
||
RUN git clone https://github.com/cloudflare/cfssl_trust.git /etc/cfssl && \ | ||
make clean && \ | ||
make bin/rice && ./bin/rice embed-go -i=./cli/serve && \ | ||
make all | ||
|
||
FROM alpine:3.10 | ||
COPY --from=builder /etc/cfssl /etc/cfssl | ||
COPY --from=builder /workdir/bin/ /usr/bin | ||
|
||
EXPOSE 8888 | ||
|
||
ENTRYPOINT ["cfssl"] | ||
CMD ["--help"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.