See ./build-local.sh
Basic build:
docker build -t crlite:staging .. -f Dockerfile
To run the tools, you'll need Redis 4+:
docker run --rm -it -p 6379:7000 \
redis:4 --port 7000
Then you can execute the docker container, setting any environment vars you want:
docker run --rm -it \
-e "redisHost=10.0.0.115:6379" \
-e "outputRefreshMs=1000" \
crlite-fetch:staging
See the Running section for more environment variables.
customize crlite-config.properties.example to crlite-config.properties and the same for -publish and -signoff
kubectl delete configmap crlite-config && \
kubectl create configmap crlite-config \
--from-env-file=crlite-config.properties
kubectl delete configmap crlite-publish-config && \
kubectl create configmap crlite-publish-config \
--from-env-file=crlite-publish-config.properties
kubectl delete configmap crlite-signoff-config && \
kubectl create configmap crlite-signoff-config \
--from-env-file=crlite-signoff-config.properties
kubectl create -f crl-storage-claim.yaml
kubectl create -f crlite-fetch
kubectl create -f crlite-generate
kubectl create -f crlite-publish
kubectl create -f crlite-signoff