]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
add docker automated build environment (#235)
authorIlia Sergachev <ilia.sergachev@protonmail.ch>
Sat, 20 Jun 2020 13:46:52 +0000 (15:46 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2020 13:46:52 +0000 (21:46 +0800)
* doc: remove broken link

* add docker build environment

DOC/BuildVentoyFromSource.txt
Dockerfile [new file with mode: 0644]
docker-compose.yml [new file with mode: 0644]

index 191f95487c03324ee16647d20c6929d6d2dba871..0a3e8fe13b647a38dbed3a0be4a435b097fed1f9 100644 (file)
@@ -31,7 +31,6 @@
     https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911     ===>  /home/Ventoy-master/EDK2/edk2-edk2-stable201911.zip
     https://codeload.github.com/relan/exfat/zip/v1.3.0                   ===>  /home/Ventoy-master/ExFAT/exfat-1.3.0.zip
     https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9           ===>  /home/Ventoy-master/ExFAT/libfuse-fuse-2.9.9.zip
-    http://ultra-embedded.com/releases/fat_io_lib.zip                    ===>  /home/Ventoy-master/vtoyfat/fat_io_lib/fat_io_lib.zip
 
 
 
diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..06221bc
--- /dev/null
@@ -0,0 +1,17 @@
+FROM centos:7
+
+RUN yum -y 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
+
+CMD cd /ventoy \
+    && wget -P DOC/ https://www.fefe.de/dietlibc/dietlibc-0.34.tar.xz \
+    && 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 -O ExFAT/exfat-1.3.0.zip https://codeload.github.com/relan/exfat/zip/v1.3.0 \
+    && wget -O ExFAT/libfuse-fuse-2.9.9.zip https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9 \
+    && cd INSTALL && ls -la && sh all_in_one.sh
+
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644 (file)
index 0000000..6d387d8
--- /dev/null
@@ -0,0 +1,8 @@
+version: '2'
+
+services:
+  ventoy:
+    build: .
+    privileged: true
+    volumes:
+     - .:/ventoy