Add laconic-client build

This commit is contained in:
David Boreham 2022-09-21 21:35:18 -06:00
parent fe8bd8e120
commit 40102a774e
11 changed files with 28 additions and 0 deletions

View File

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Build cerc/eth-statediff-fill-service # Build cerc/eth-statediff-fill-service
docker build -t cerc/eth-statediff-fill-service:local ${CERC_REPO_BASE_DIR}/eth-statediff-fill-service docker build -t cerc/eth-statediff-fill-service:local ${CERC_REPO_BASE_DIR}/eth-statediff-fill-service

View File

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Build cerc/go-ethereum # Build cerc/go-ethereum
docker build -t cerc/go-ethereum:local ${CERC_REPO_BASE_DIR}/go-ethereum docker build -t cerc/go-ethereum:local ${CERC_REPO_BASE_DIR}/go-ethereum

View File

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Build cerc/ipld-eth-beacon-db # Build cerc/ipld-eth-beacon-db
docker build -t cerc/ipld-eth-beacon-db:local ${CERC_REPO_BASE_DIR}/ipld-eth-beacon-db docker build -t cerc/ipld-eth-beacon-db:local ${CERC_REPO_BASE_DIR}/ipld-eth-beacon-db

View File

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Build cerc/ipld-eth-beacon-indexer # Build cerc/ipld-eth-beacon-indexer
docker build -t cerc/ipld-eth-beacon-indexer:local ${CERC_REPO_BASE_DIR}/ipld-eth-beacon-indexer docker build -t cerc/ipld-eth-beacon-indexer:local ${CERC_REPO_BASE_DIR}/ipld-eth-beacon-indexer

View File

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Build cerc/ipld-eth-db # Build cerc/ipld-eth-db
docker build -t cerc/ipld-eth-db:local ${CERC_REPO_BASE_DIR}/ipld-eth-db docker build -t cerc/ipld-eth-db:local ${CERC_REPO_BASE_DIR}/ipld-eth-db

View File

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Build cerc/ipld-eth-server # Build cerc/ipld-eth-server
docker build -t cerc/ipld-eth-server:local ${CERC_REPO_BASE_DIR}/ipld-eth-server docker build -t cerc/ipld-eth-server:local ${CERC_REPO_BASE_DIR}/ipld-eth-server

View File

@ -0,0 +1,10 @@
FROM node:16.13.1-alpine3.14
ARG NPM_AUTH_TOKEN
WORKDIR /app
COPY . .
RUN echo //npm.pkg.github.com/:_authToken=$NPM_AUTH_TOKEN > ~/.npmrc
RUN apk --update --no-cache add git && yarn

View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Build cerc/laconic-client
set -x
# See: https://stackoverflow.com/a/246128/1701505
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

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
# Build cerc/chiba-clonk
docker build -t cerc/laconicd:local ${CERC_REPO_BASE_DIR}/laconicd

View File

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Build cerc/test-contract # Build cerc/test-contract
docker build -t cerc/test-contract:local --build-arg ETH_ADDR=http://go-ethereum:8545 ${CERC_REPO_BASE_DIR}/ipld-eth-db-validator/test/contract docker build -t cerc/test-contract:local --build-arg ETH_ADDR=http://go-ethereum:8545 ${CERC_REPO_BASE_DIR}/ipld-eth-db-validator/test/contract

View File

@ -8,3 +8,4 @@ cerc/ipld-eth-beacon-db
cerc/ipld-eth-beacon-indexer cerc/ipld-eth-beacon-indexer
cerc/ipld-eth-server cerc/ipld-eth-server
cerc/laconicd cerc/laconicd
cerc/laconic-client