2024-07-05 15:04:36 +00:00
|
|
|
build: shard.yml $(wildcard src/**/*) $(runtimes/**/*)
|
2024-07-05 20:32:41 +00:00
|
|
|
shards build -d --error-trace
|
2024-07-05 15:04:36 +00:00
|
|
|
cat .rucksack >> bin/faaso
|
2024-07-05 19:35:42 +00:00
|
|
|
cat .rucksack >> bin/faaso-daemon
|
2024-06-30 16:11:35 +00:00
|
|
|
proxy: build
|
2024-07-04 23:23:30 +00:00
|
|
|
docker build . -t faaso-proxy
|
2024-06-30 02:13:41 +00:00
|
|
|
start-proxy:
|
2024-07-06 14:57:30 +00:00
|
|
|
docker run --name faaso-proxy-one \
|
|
|
|
--rm --network=faaso-net \
|
|
|
|
--env-file=proxy.env \
|
|
|
|
-e FAASO_SECRET_PATH=${PWD}/secrets \
|
|
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
|
|
-v ${PWD}/secrets:/home/app/secrets \
|
|
|
|
-v ${PWD}/config:/home/app/config \
|
|
|
|
-p 8888:8888 faaso-proxy
|
2024-06-30 02:54:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
.PHONY: build proxy-image start-proxy
|