Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 11f8d55

Browse files
authored
Pass through TEAMS environment variable explicitly
1 parent 7158ecb commit 11f8d55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ build: reset-permissions
1515

1616
# Generate a new CA key
1717
generate: env-file-exists build
18-
source env.sh && docker run -e FORCE_WRITE=$(FORCE_WRITE) -e KEYBASE_USERNAME -e KEYBASE_PAPERKEY -v $(CURDIR)/example-keybaseca-volume:/mnt:rw ca:latest docker/entrypoint-generate.sh
18+
source env.sh && docker run -e FORCE_WRITE=$(FORCE_WRITE) -e KEYBASE_USERNAME -e KEYBASE_PAPERKEY -e TEAMS -v $(CURDIR)/example-keybaseca-volume:/mnt:rw ca:latest docker/entrypoint-generate.sh
1919
@echo -e "\nRun these commands on each server that you wish to use with the CA chatbot\n"
2020
@echo "useradd developer && mkdir -p /home/developer && chown developer:developer /home/developer # The user that will be used for non-root logins"
2121
@echo "echo \"`cat $(CURDIR)/example-keybaseca-volume/keybase-ca-key.pub`\" > /etc/ssh/ca.pub"
@@ -27,7 +27,7 @@ generate: env-file-exists build
2727

2828
# Start the CA chatbot in the background
2929
serve: env-file-exists ca-key-exists build
30-
source env.sh && docker run -d --restart unless-stopped -e KEYBASE_USERNAME -e KEYBASE_PAPERKEY -v $(CURDIR)/example-keybaseca-volume:/mnt:rw ca:latest docker/entrypoint-server.sh
30+
source env.sh && docker run -d --restart unless-stopped -e KEYBASE_USERNAME -e KEYBASE_PAPERKEY -e TEAMS -v $(CURDIR)/example-keybaseca-volume:/mnt:rw ca:latest docker/entrypoint-server.sh
3131
@echo "Started CA bot service in the background... Use `docker ps` and `docker logs` to monitor it"
3232

3333
# Wipe all data
@@ -51,4 +51,4 @@ env-file-exists:
5151

5252
# Assert that a CA key exists
5353
ca-key-exists:
54-
@test -e "example-keybaseca-volume/keybase-ca-key" || (echo "You must run make generate prior to make serve" && exit 1)
54+
@test -e "example-keybaseca-volume/keybase-ca-key" || (echo "You must run make generate prior to make serve" && exit 1)

0 commit comments

Comments
 (0)