Skip to content

Commit 71ae9cf

Browse files
committed
add build image scripting
1 parent 68c9f45 commit 71ae9cf

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
docker-run:
2+
[ -d '../secrets' ] || git clone keybase://team/cucumberbdd/secrets ../secrets
3+
git -C ../secrets pull
4+
../secrets/update_permissions
5+
docker pull cucumber/cucumber-build:0.8.0
6+
docker run \
7+
--volume "${shell pwd}":/app \
8+
--volume "${shell pwd}/../secrets/import-gpg-key.sh":/home/cukebot/import-gpg-key.sh \
9+
--volume "${shell pwd}/../secrets/codesigning.key":/home/cukebot/codesigning.key \
10+
--volume "${shell pwd}/../secrets/.ssh":/home/cukebot/.ssh \
11+
--volume "${shell pwd}/../secrets/.npmrc":/home/cukebot/.npmrc \
12+
--volume "${HOME}/.gitconfig":/home/cukebot/.gitconfig \
13+
--env-file ../secrets/secrets.list \
14+
--user 1000 \
15+
--rm \
16+
-it cucumber/cucumber-build:0.8.0 \
17+
bash
18+
.PHONY: docker-run

0 commit comments

Comments
 (0)