allow setting step customize image (OD-2549)
Zhou You opened 4 months ago

To facilitate management, caching, and security, could we be allowed to customize the runtime image for steps like scp and ssh? Having them hard-coded in your code means any change requires repackaging and releasing a new version, which is very inconvenient.

  • Robin Shen commented 4 months ago

    Image customization for these steps can complicate things as it may break the built-in commands. Just create you own command step with desired image if you have customization needs.

  • Robin Shen changed state to 'Closed' 4 months ago
    Previous Value Current Value
    Open
    Closed
  • Zhou You commented 4 months ago

    I’m currently using custom commands via containers, but it’s rather cumbersome. I think replacing the build-in commands’ images with the buildpack-deps:stable, buildpack-deps:stable-scm, and buildpack-deps:stable-curl series would be better than maintaining them myself, since Docker’s official images are updated and maintained promptly to address security issues.

    buildpack-deps A collection of common build dependencies used for installing various modules, e.g., gems.

  • Robin Shen commented 4 months ago

    buildpack-deps A collection of common build dependencies used for installing various modules, e.g., gems.

    As mentioned, you may add your custom build step to run arbitrary commands inside arbitrary image, such as buildpack-deps.

issue 1/1
Type
New Feature
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2549
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover