Private Base Images
If the base image used in your Dockerfile's FROM
statement is not publicly available and requires authentication, you'll need to provide Aptible with credentials to pull it.
To do so, use aptible config:set
to set these two environment variables:
aptible config:set --app "$APP_HANDLE" \
"APTIBLE_PRIVATE_REGISTRY_USERNAME=$USERNAME" \
"APTIBLE_PRIVATE_REGISTRY_PASSWORD=$PASSWORD"
For more information, notably on using AWS ECR, see Private Registry Authentication.
Updated about 1 year ago