-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install core origin public key in devshell.
This is a temporary measure until public origin keys are downloaded on package installations. Its implementation is non-straight forward because we're caching the `/hab/cache/keys` directory with a mounted data volume. When the Docker container comes up, this directory is bind mounted over and the underlying directory contents is masked out. Pull request: #457 Approved by: reset
- Loading branch information
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ images | |
log | ||
plans | ||
support | ||
!support/init.sh | ||
vendor | ||
web | ||
*.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
if [ ! -f /hab/cache/keys/core-20160423193745.pub ]; then | ||
cp -v /tmp/core-20160423193745.pub /hab/cache/keys | ||
fi | ||
|
||
exec "$@" |