Skip to content

Instantly share code, notes, and snippets.

@hype8912
hype8912 / image-distro-certs-settings.md
Last active March 5, 2025 13:04
Image Distro Certificates Location

Latest version has been moved to a respository so all the gist file information can stay together. This file will no longer be updated.

OS/Distro Image Base Test Image[^test_image] Test Image Size[^image_size] Required Packages Certificates Location Update Certificates Command
AIX Unix /var/ssl/serts/ runmqakm
Alpine Linux Alpine alpine:latest 3.5MB ca-certificates, step-cli, unzip /usr/local/share/ca-certificates/ update-ca-certificates
Android Debian budtmo/docker-android:emulator_14.0 3GB /system/etc/security/cacerts/
Arch Linux Arch archlinux:latest 150MB curl, unzip, step-cli.rpm /etc/ca-certificates/trust-source/anchors/ update-ca-trust extract
Clear Linux Other Linux clearlinux:latest 69MB /usr/local/share/ca-certificates/ update-ca-certificates
Crux Other Linux curx:latest 152MB `/e
@hype8912
hype8912 / application_specific_proxy_cert_settings.md
Last active March 5, 2025 13:05
Application Specific Proxy and Certificate Settings

Latest version has been moved to a respository so all the gist file information can stay together. This file will no longer be updated.

Application Specific Proxy and Certificate Settings

App Name Test Image Test Image Size Proxy Instructions Certificate Instructions
aws AWS CLI amazon/aws-cli:latest 127MB
export AWS_CA_BUNDLE="$SSL_CERT_FILE"
docker Docker Service[^1] /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=$HTTP_PROXY"
Environment="HTTPS_PROXY=$HTTPS_PROXY"
Environment="NO_PROXY=$NO_PROXY"
~/.docker/config.json
{
  "proxies" : {
    "default" : {
      "httpProxy" : "$HTTP_PROXY",
      "httpsProxy" : "$HTTPS_PROXY",
      "noProxy" : "$NO_PROXY"
    }
  }
}
gitgit-lfs alpine/git:latest 32MB
@hype8912
hype8912 / cert_environment_vars.md
Last active March 5, 2025 13:05
Certificate Environment Variables

Latest version has been moved to a respository so all the gist file information can stay together. This file will no longer be updated.

See also applicable Proxy environment variables.

Certificate Environment Variables

Variable name Use Linux Settings Windows Settings
ADDITIONAL_CA_CERT_BUNDLE[^gitlab_dps] GitLab Dependency Scanning $SSL_CERT_FILE %SSL_CERT_FILE%
AWS_CA_BUNDLE[^aws_cli] AWS CLI $SSL_CERT_FILE %SSL_CERT_FILE%
@hype8912
hype8912 / package_manager_proxy_settings.md
Last active March 5, 2025 13:06
List of Package Mangers and Proxy Configuration

Latest version has been moved to a respository so all the gist file information can stay together. This file will no longer be updated.

Set the applicable proxy, certificate, OS/Distro variables along with application configurations.

Current Package Managers

If no information is provide in the Proxy Instructions or Certificate Instructions means they use the typical OS or Distro environment values and will work just by setting those value(s).

Package manager Name Image Base Test Image[^test_image] Test Image Size[^image_size] Proxy Instructions Certificate Instructions
@hype8912
hype8912 / proxy_variables.md
Last active March 5, 2025 13:05
List of PROXY environment variables

Latest version has been moved to a respository so all the gist file information can stay together. This file will no longer be updated.

See also applicable Certificate environment variables.

Proxy Environment Variables

Variable name Use Linux Settings Windows Settings
ALL_PROXY standard
all_proxy standard $ALL_PROXY %ALL_PROXY%