mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
build: explain why we publish CA certificates this way
Alternatively, we could bundle the CA certificate path (at compile time) inside Akvorado binary and it would be pulled automatically. This seems like a hurdle.
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
|
||||
export GOFLAGS=-trimpath
|
||||
'';
|
||||
# We do not use a wrapper to set SSL_CERT_FILE because, either a
|
||||
# binary or a shell wrapper, it would pull the libc (~30M).
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/ca-certificates
|
||||
cp bin/akvorado $out/bin/.
|
||||
|
||||
Reference in New Issue
Block a user