edge-node-manager icon indicating copy to clipboard operation
edge-node-manager copied to clipboard

Create ENM base images

Open brownjohnf opened this issue 8 years ago • 2 comments

We should build + push the Dockerfile in here, so that instructions to users can be to just use FROM resin/enm:v1.0.3 (or whatever tag they want) in their gateway applications.

brownjohnf avatar Apr 29 '17 14:04 brownjohnf

I'm not sure if this is such a good idea, unless we make one for each arch and language - otherwise the user will do FROM resin/enm:v1.0.3 and then have to install the whole node toolchain or whichever language they want to use

jbaldwinroberts avatar Jul 06 '17 09:07 jbaldwinroberts

I guess we could do this with multistage builds, something like:

FROM resin/%%RESIN_MACHINE_NAME%%-enm:v6.0.0 as enm
FROM resin/%%RESIN_MACHINE_NAME%%-node:latest
COPY --from=enm ./edge-node-manager ./edge-node-manager
....

This means we only have to create a base enm image for each arch

jbaldwinroberts avatar Jul 09 '17 09:07 jbaldwinroberts