Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
ee81f899
Commit
ee81f899
authored
Jan 29, 2021
by
longpanda
Browse files
CI build
parent
b1ad99cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
Dockerfile
Dockerfile
+2
-9
INSTALL/docker_ci_build.sh
INSTALL/docker_ci_build.sh
+14
-0
No files found.
Dockerfile
View file @
ee81f899
FROM
centos:7
RUN
yum
-y
install
\
RUN
yum
-y
-q
install
\
libXpm net-tools bzip2 wget vim gcc gcc-c++ samba dos2unix glibc-devel glibc.i686 glibc-devel.i686
\
mpfr.i686 mpfr-devel.i686 zlib.i686 rsync autogen autoconf automake libtool gettext
*
bison binutils
\
flex device-mapper-devel SDL libpciaccess libusb freetype freetype-devel gnu-free-
*
qemu-
*
virt-
*
\
libvirt
*
vte
*
NetworkManager-bluetooth brlapi fuse-devel dejavu
*
gnu-efi
*
pesign shim
\
iscsi-initiator-utils grub2-tools zip nasm acpica-tools glibc-static zlib-static xorriso
CMD
cd /ventoy \
&& wget -P DOC/ https://www.fefe.de/dietlibc/dietlibc-0.34.tar.xz \
&& wget -P DOC/ https://musl.libc.org/releases/musl-1.2.1.tar.gz \
&& wget -P GRUB2/ https://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz \
&& wget -O EDK2/edk2-edk2-stable201911.zip https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911 \
&& wget -P /opt/ https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz \
&& wget -P /opt/ https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--stable-2020.08-1.tar.bz2 \
&& cd INSTALL && ls -la && sh all_in_one.sh CI > DOC/build.log 2>&1
CMD
cd /ventoy/INSTALL && ls -la && sh docker_ci_build.sh
INSTALL/docker_ci_build.sh
0 → 100644
View file @
ee81f899
#!/bin/sh
VTOY_PATH
=
$PWD
/..
wget
-q
-P
$VTOY_PATH
/DOC/ https://www.fefe.de/dietlibc/dietlibc-0.34.tar.xz
wget
-q
-P
$VTOY_PATH
/DOC/ https://musl.libc.org/releases/musl-1.2.1.tar.gz
wget
-q
-P
$VTOY_PATH
/DOC/ https://musl.libc.org/releases/musl-1.2.1.tar.gz
wget
-q
-P
$VTOY_PATH
/GRUB2/ https://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz
wget
-q
-O
$VTOY_PATH
/EDK2/edk2-edk2-stable201911.zip https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911
wget
-q
-P
/opt/ https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz
wget
-q
-P
/opt/ https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--stable-2020.08-1.tar.bz2
sh all_in_one.sh CI
>
$VTOY_PATH
/DOC/build.log 2>&1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment