Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.59 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.59 KB

Custom Root CA (custom-root-ca)

🔒 Add a custom Root CA to your development environment

Example Usage

"features": {
    "ghcr.io/bdsoha/devcontainers/custom-root-ca:1": {}
}

Options

Options Id Description Type Default Value
name Name of the custom root CA string custom-root-ca.crt
source Remote location (or comma seperated locations) of the certificate in PEM format to be added string https://netfree.link/cacert/isp/018/ca.crt
bundle Create a certificate bundle of all applied CAs boolean true
verify Verify the downloaded SSL certificate boolean true

Override Feature Install Order

It is likely that you will need to have the custom CA certificate applied at an early stage of the installation build. To override the order of installation, add the following to your devcontainer.json configuration:

Note The values of overrideFeatureInstallOrder does not contain the feature's version tag.

// ...
"overrideFeatureInstallOrder": [
    "ghcr.io/bdsoha/devcontainers/custom-root-ca"
],
// ...

Compatible Base Images

This feature was tested with the following base images (and should work with all of their variants):

  • mcr.microsoft.com/devcontainers/base:ubuntu
  • mcr.microsoft.com/devcontainers/base:debian
  • mcr.microsoft.com/devcontainers/base:alpine

Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.