1
0

Merge pull request #9 from cerc-io/dboreham/laconic-client-updates

laconic client updates
This commit is contained in:
David Boreham 2022-09-28 21:05:29 -06:00 committed by GitHub
commit dd0fa34205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,5 @@
FROM node:16.13.1-alpine3.14 # TODO: move this into the cerc-io/laconic-sdk (aka client) repo
FROM node:16.17.1-alpine3.16
ARG NPM_AUTH_TOKEN ARG NPM_AUTH_TOKEN
WORKDIR /app WORKDIR /app
@ -7,4 +8,6 @@ COPY . .
RUN echo //npm.pkg.github.com/:_authToken=$NPM_AUTH_TOKEN > ~/.npmrc RUN echo //npm.pkg.github.com/:_authToken=$NPM_AUTH_TOKEN > ~/.npmrc
RUN apk --update --no-cache add git && yarn RUN apk --update --no-cache add git && yarn && yarn build
ENTRYPOINT ["/app/bin/laconic"]

View File

@ -4,4 +4,5 @@
# See: https://stackoverflow.com/a/246128/1701505 # See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker build -t cerc/laconic-client:local -f ${SCRIPT_DIR}/Dockerfile --build-arg NPM_AUTH_TOKEN=$(NPM_AUTH_TOKEN) ${CERC_REPO_BASE_DIR}/laconic-client # TODO: change the repo name to laconic-client, if it becomes re-named (laconic-client currently is just the TS protocol client library, not the CLI tool)
docker build -t cerc/laconic-client:local -f ${SCRIPT_DIR}/Dockerfile --build-arg NPM_AUTH_TOKEN=$(NPM_AUTH_TOKEN) ${CERC_REPO_BASE_DIR}/laconic-sdk

View File

@ -7,4 +7,4 @@ vulcanize/ipld-eth-db-validator
vulcanize/ipld-eth-beacon-indexer vulcanize/ipld-eth-beacon-indexer
vulcanize/ipld-eth-beacon-db vulcanize/ipld-eth-beacon-db
cerc-io/laconicd cerc-io/laconicd
cerc-io/laconic-client cerc-io/laconic-sdk