extensions-sdk
extensions-sdk copied to clipboard
cli: ux: consider supporting to pass custom golang and node images during initialization (via flag?)
In current implementation, FROM golang:1.17-alpine AS builder and FROM --platform=$BUILDPLATFORM node:17.7-alpine3.14 AS client-builder images are hard-coded values in the boilerplate (Dockerfile). It would be great to override those images during the initialization, for example
$ docker extension init foo --go golang:1.17-alpine --node node:17.7-alpine3.14
Any thoughts?
Hi @Dentrax 👋 thanks for the suggestion!
The only reason I can think of why those flags would be useful is to avoid to re-build the extension after it has been generated, is it the use case you were thinking about?