I'm looking at using apko and melange as an alternative to docker. Normally in our dockerfiles we have to copy in any relevant company certs so that communicating with on-prem services is possible over https.
Usually done like:
cp certs-location /usr/local/share/ca-certificates
Update-ca-certificates
I've been stuck trying to do this using a custom apk.
I've been able to move the certs into the apko build, but update-ca-certificates command is not running so the company certs are not trusted.
I can shell into the container and then run update-ca-certificates manually (as root), which works. This is obviously not desired as I want it to be ran on build.
Hi,
I'm looking at using apko and melange as an alternative to docker. Normally in our dockerfiles we have to copy in any relevant company certs so that communicating with on-prem services is possible over https.
Usually done like: cp certs-location /usr/local/share/ca-certificates Update-ca-certificates
I've been stuck trying to do this using a custom apk.
I've been able to move the certs into the apko build, but update-ca-certificates command is not running so the company certs are not trusted.
I can shell into the container and then run update-ca-certificates manually (as root), which works. This is obviously not desired as I want it to be ran on build.
custom apk packagec config:
apko yaml config: