mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-28 02:16:09 +00:00
Change -e NOPICKER=true
to simply do export BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2
.
This commit is contained in:
parent
9a846bbdbf
commit
a651aa0369
|
@ -1,5 +1,6 @@
|
|||
|Version|Date|Notes|
|
||||
|---|---|---|
|
||||
| |2021-02-26|Change `-e NOPICKER=true` to simply do `export BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2`.|
|
||||
|3.2|2021-02-25|Add a script to generate unique machine serial numbers. Add a script to generate a bootdisk from given serial numbers. Add Linux for libguestfs which allows the docker container to make QEMU bootdisks with specific serial numbers.|
|
||||
| |2021-02-21|Add NOPICKER environment variable to ALL images.|
|
||||
|3.1|2021-02-21|Remove testing repos. Switch to base-devel. We shouldn't be using testing repos in a Dockerfile for light increase in stability. Add the mandatory glibc patch to every pacman until someone upstream fixes it.|
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
FROM archlinux:base-devel
|
||||
|
||||
MAINTAINER 'https://sick.codes' <https://sick.codes>
|
||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
||||
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
|
@ -271,7 +271,7 @@ CMD sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" "${BOOTDISK}" 2>/dev/null |
|
|||
directory* ) export IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img \
|
||||
;; \
|
||||
esac \
|
||||
; [[ "${NOPICKER}" == true ]] && mv ./Launch-nopicker.sh ./Launch.sh \
|
||||
; [[ "${NOPICKER}" == true ]] && BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2 \
|
||||
; [[ "${GENERATE_UNIQUE}" == true ]] \
|
||||
&& ./Docker-OSX/custom/generate-unique-machine-values.sh \
|
||||
--count 1 \
|
||||
|
|
|
@ -125,9 +125,7 @@ RUN if [[ "${COMPLETE}" ]]; then \
|
|||
&& wget --no-verbose -O /home/arch/OSX-KVM/mac_hdd_ng.img "${IMAGE_URL}" \
|
||||
; fi
|
||||
|
||||
RUN mv ./Launch-nopicker.sh ./Launch.sh
|
||||
|
||||
ENV BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2
|
||||
ENV BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2
|
||||
|
||||
ENV DISPLAY=:99
|
||||
|
||||
|
@ -141,11 +139,11 @@ ENV TERMS_OF_USE=i_agree
|
|||
|
||||
ENV BOILERPLATE="By using this Dockerfile, you hereby agree that you are a security reseacher or developer and agree to use this Dockerfile to make the world a safer place. Examples include: making your apps safer, finding your mobile phone, compiling security products, etc. You understand that Docker-OSX is an Open Source project, which is released to the public under the GNU Pulic License version 3 and above. You acknowledge that the Open Source project is absolutely unaffiliated with any third party, in any form whatsoever. Any trademarks or intelectual property which happen to be mentioned anywhere in or around the project are owned by their respective owners. By using this Dockerfile, you agree to agree to the EULA of each piece of upstream or downstream software. The following code is released for the sole purpose of security research, under the GNU Public License version 3. If you are concerned about the licensing, please note that this project is not AGPL. A copy of the license is available online: https://github.com/sickcodes/Docker-OSX/blob/master/LICENSE. In order to use the following Dockerfile you must read and understand the terms. Once you have read the terms, use the -e TERMS_OF_USE=i_agree or -e TERMS_OF_USE=i_disagree"
|
||||
|
||||
CMD echo "Disk is being copied between layers... Please wait a minute..." \
|
||||
&& sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" "${BOOTDISK}" 2>/dev/null || true \
|
||||
&& echo "${BOILERPLATE}" \
|
||||
CMD echo "${BOILERPLATE}" \
|
||||
&& [[ "${TERMS_OF_USE}" = i_agree ]] || exit 1 \
|
||||
; [[ "${NOPICKER}" == true ]] && mv ./Launch-nopicker.sh ./Launch.sh \
|
||||
&& echo "Disk is being copied between layers... Please wait a minute..." \
|
||||
&& sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" "${BOOTDISK}" 2>/dev/null || true \
|
||||
; [[ "${NOPICKER}" == true ]] && export BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2 \
|
||||
; [[ "${GENERATE_UNIQUE}" == true ]] \
|
||||
&& ./Docker-OSX/custom/generate-unique-machine-values.sh \
|
||||
--count 1 \
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
# docker run -it --device /dev/kvm -p 50922:10022 -v ${PWD}/mac_hdd_ng.img:/image -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix docker-osx:naked
|
||||
#
|
||||
|
||||
FROM docker-osx:latest
|
||||
FROM sickcodes/docker-osx:latest
|
||||
|
||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
||||
|
||||
|
|
Loading…
Reference in a new issue