forked from microsoft/azurelinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Toolkit: provide mechanism to auto-install build deps (microsoft#11081)
- Loading branch information
1 parent
8cb3ed2
commit 1a4d090
Showing
5 changed files
with
103 additions
and
53 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
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,45 @@ | ||
#!/bin/bash | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
set -e | ||
|
||
tdnf -y install \ | ||
acl \ | ||
binutils \ | ||
cdrkit \ | ||
curl \ | ||
diffutils \ | ||
dosfstools \ | ||
gawk \ | ||
genisoimage \ | ||
git \ | ||
glibc-devel \ | ||
golang \ | ||
jq \ | ||
kernel-headers \ | ||
make \ | ||
moby-cli \ | ||
moby-engine \ | ||
openssl \ | ||
parted \ | ||
pigz \ | ||
qemu-img \ | ||
rpm \ | ||
rpm-build \ | ||
sudo \ | ||
systemd \ | ||
tar \ | ||
wget \ | ||
xfsprogs \ | ||
zstd | ||
|
||
script_file=$(readlink -f "$0") | ||
# md file is the same name as the script file, but with a .md extension | ||
md_file="${script_file%.*}.md" | ||
|
||
echo "" | ||
echo "Install complete..." | ||
echo "" | ||
echo "**** Refer to ${md_file} for additional steps to complete the setup. ****" | ||
echo "" |
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,35 @@ | ||
#!/bin/bash | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
set -e | ||
|
||
apt update | ||
apt install -y \ | ||
acl \ | ||
curl \ | ||
diffutils \ | ||
gawk \ | ||
genisoimage \ | ||
git \ | ||
golang-1.21-go \ | ||
jq \ | ||
make \ | ||
openssl \ | ||
parted \ | ||
pigz \ | ||
qemu-utils \ | ||
rpm \ | ||
systemd \ | ||
tar \ | ||
wget \ | ||
xfsprogs \ | ||
zstd | ||
|
||
script_file=$(readlink -f "$0") | ||
# md file is the same name as the script file, but with a .md extension | ||
md_file="${script_file%.*}.md" | ||
|
||
echo "" | ||
echo "**** Refer to ${md_file} for additional steps to complete the setup. ****" | ||
echo "" |
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