Open luisrayas3 opened 2 years ago
node:16
image doesn't have Java environment. Instead, you can use timbru31/java-node:latest
image as a solution.
I recently wrote a Dockerfile that can be used to containerize the c4builder tool using a Linux base image.
This has now been merged into the main branch of the c4-builder repo, see: https://github.com/adrianvlupu/C4-Builder/blob/master/Dockerfile
@craigwardman could you publish official image on docker hub?
it's not an official image, but I have built the Dockerfile (using 0.2.16 version of c4builder) and pushed it to docker hub under my account, so if you want to run it directly you can use:
docker run -v $(pwd):/pwd craigwardman/c4builder
I tried installing on my local ubuntu machine and when that didn't work (thought it was my version of node/npm) I tried installing in a docker container:
This fails:
I get the same error using
node:alpine
ornode:17
as theFROM