Setting up a custom image
See original GitHub issueI am trying to set up a custom docker image (linux-anvil-cos7-x86_64
) but regenerate
doesn’t take it into account.
conda-forge.yml
:
docker:
fallback_image: linux-anvil-cos7-x86_64
After regenerate
, ./scripts/run_docker_build.sh
contains:
if [ -z "${DOCKER_IMAGE}" ]; then
SHYAML_INSTALLED="$(shyaml -h || echo NO)"
if [ "${SHYAML_INSTALLED}" == "NO" ]; then
echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Falling back to linux-anvil-cos7-x86_64"
DOCKER_IMAGE="linux-anvil-cos7-x86_64"
else
DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 linux-anvil-cos7-x86_64 )"
fi
fi
but ..azure-pipelines/azure-pipelines-linux.yml
contains:
jobs:
- job: linux
pool:
vmImage: ubuntu-16.04
strategy:
matrix:
linux_:
CONFIG: linux_
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: condaforge/linux-anvil-comp7
maxParallel: 8
timeoutInMinutes: 360
which take precedence over the run_docker_build.sh
.
I could edit manually azure-pipelines-linux.yml
but it would be erased at each new regenerate
. Any idea?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Deploy a Custom Image | Microsoft Learn
Deploy a Custom Image · Step 1: Copy the Windows installation source files to a network share · Step 2: Install Windows onto...
Read more >Creating a custom image - IBM
You can build a custom image on any server or workstation running Docker, Podman or Skopeo. The custom image does not have to...
Read more >Create custom images - Compute Engine - Google Cloud
You can create custom images from source disks, images, snapshots, or images stored in Cloud Storage and use these images to create virtual...
Read more >How to Create Perfect Custom Images for Your Website, Blog ...
To create your own custom images, find the best free images at your disposal and edit them wisely—within a reasonable time limit.
Read more >Make it Pretty - Creating Custom Images - Teaching Forward
Creating a custom image requires a workspace where you can layer, re-size and move elements around. My all-time favorite site for this step...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s because of this.
You need to do something like,