mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
* adds dockerfile for building images to run examples on * adds makefile entries to build and push docker runner images * cleans up tar artifacts when building ingest runner * moves executables to /usr/local/bin * moves the sources for building runner images into their own folder * simplifies makefile and adds directions to readme
14 lines
482 B
Makefile
14 lines
482 B
Makefile
.PHONY: build-runners push-runners
|
|
|
|
TAG_ROOT=ghcr.io/featurebasedb/examples
|
|
TAG_FB_RUNNER=$(TAG_ROOT)/featurebase-runner
|
|
TAG_INGEST_RUNNER=$(TAG_ROOT)/ingest-runner
|
|
TAG_VERSION=latest
|
|
|
|
build-runners:
|
|
docker build --target=featurebase -t$(TAG_FB_RUNNER):$(TAG_VERSION) -f Dockerfile ../
|
|
docker build --target=ingest -t$(TAG_INGEST_RUNNER):$(TAG_VERSION) -f Dockerfile ../
|
|
|
|
push-runners:
|
|
docker push $(TAG_FB_RUNNER):$(TAG_VERSION)
|
|
docker push $(TAG_INGEST_RUNNER):$(TAG_VERSION)
|