1
0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-09-19 15:42:58 +00:00

Replaced Google PKI certificates

This commit is contained in:
Knut Ahlers 2015-08-25 00:10:07 +02:00
parent 7e89736529
commit 4df4c74133
2 changed files with 2 additions and 6 deletions

View File

@ -5,6 +5,6 @@ EXPOSE 3000
ENTRYPOINT ["/cloudkeys-go"]
CMD ["--storage=local:////data", "--password-salt=changeme", "--username-salt=changeme"]
ADD ./ca-certificates.pem /etc/ssl/ca-bundle.pem
ADD https://rootcastore.hub.luzifer.io/v1/store/latest /etc/ssl/ca-bundle.pem
ADD ./cloudkeys-go /cloudkeys-go
ADD ./templates /templates

View File

@ -7,7 +7,7 @@ build: bundle_assets
pre-commit: bundle_assets
container: ca-certificates.pem bundle_assets
container: bundle_assets
docker run -v $(CURDIR):/src -e LDFLAGS='-X main.version $(VERSION)' centurylink/golang-builder:latest
docker build .
@ -19,7 +19,3 @@ gen_js:
bundle_assets: gen_css gen_js
go-bindata assets templates
ca-certificates.pem:
curl -s https://pki.google.com/roots.pem | grep -v "^#" | grep -v "^$$" > $@
shasum $@