mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-08 14:10:05 +00:00
Replaced Google PKI certificates
This commit is contained in:
parent
7e89736529
commit
4df4c74133
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
6
Makefile
6
Makefile
|
@ -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 $@
|
||||
|
|
Loading…
Reference in a new issue