-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#137336783] Signed-off-by: Petar Petrov <[email protected]>
- Loading branch information
1 parent
ec43bc5
commit 55c1381
Showing
4 changed files
with
30 additions
and
2 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 |
---|---|---|
|
@@ -12,6 +12,7 @@ packages: | |
- runc | ||
- shadow | ||
- busybox | ||
- busybox-tar | ||
- tar | ||
|
||
properties: | ||
|
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,21 @@ | ||
set -e -x | ||
|
||
# to generate a new busybox tarball: | ||
# | ||
# docker run -i -t -cidfile=busybox.cid busybox echo foo | ||
# docker export $(cat busybox.cid) > busybox.tar.gz | ||
# | ||
# to add it to the release: | ||
# | ||
# cd garden-runc-release | ||
# bosh add blob busybox.tar.gz busybox | ||
# bosh upload blobs | ||
|
||
mkdir ${BOSH_INSTALL_TARGET}/busybox | ||
tar zxf busybox/busybox.tar.gz -C ${BOSH_INSTALL_TARGET}/busybox | ||
pushd ${BOSH_INSTALL_TARGET}/busybox | ||
tar cf busybox.tar * | ||
popd | ||
mv ${BOSH_INSTALL_TARGET}/busybox/busybox.tar ${BOSH_INSTALL_TARGET}/busybox.tar | ||
rm -rf ${BOSH_INSTALL_TARGET}/busybox | ||
|
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,5 @@ | ||
--- | ||
name: busybox-tar | ||
|
||
files: | ||
- busybox/busybox.tar.gz |