stack-orchestrator/container-build/cerc-builder-js
2023-01-04 20:50:23 -07:00
..
build-npm-package-local-dependencies.sh Use the right script 2023-01-04 20:50:23 -07:00
build-npm-package.sh Brand token env var 2023-01-04 20:43:13 -07:00
Dockerfile Add scripts to image 2023-01-03 21:39:06 -07:00
entrypoint.sh Add generic entrypoint 2022-12-12 12:38:12 -07:00
README.md Brand token env var 2023-01-04 20:43:13 -07:00
yarn-local-registry-fixup.sh Working builds 2023-01-03 22:37:44 -07:00

JS/TS Package Builder

This container is designed to be used as a simple "build runner" environment for building and publishing JS/TS projects using yarn.

Running a build

As a temporary measure while the necessary functionality is being added to Stack Orchestrator, it is possible to build packages manually by invoking docker run , for example as follows:

$ docker run --rm -it --add-host host.docker.internal:host-gateway \
  -v ${HOME}/cerc/laconic-registry-cli:/workspace cerc/builder-js  \
  sh -c 'cd /workspace && CERC_NPM_AUTH_TOKEN=6613572a28ebebaee20ccd90064251fa8c2b94f6 \
  build-npm-package-local-dependencies.sh http://host.docker.internal:3000/api/packages/cerc-io/npm/ 0.1.8'