aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.auto
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-02-26 04:22:56 +0000
committersickcodes <[email protected]>2021-02-26 04:22:56 +0000
commita651aa0369a5875a900a02deba319e4e0074d0d5 (patch)
treecf077c86d149829a2da58bf2aa49efb583cff0fb /Dockerfile.auto
parentChown the disk image early. (diff)
downloaddocker-osx-a651aa0369a5875a900a02deba319e4e0074d0d5.tar.xz
docker-osx-a651aa0369a5875a900a02deba319e4e0074d0d5.zip
Change `-e NOPICKER=true` to simply do `export BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2`.
Diffstat (limited to 'Dockerfile.auto')
-rw-r--r--Dockerfile.auto12
1 files changed, 5 insertions, 7 deletions
diff --git a/Dockerfile.auto b/Dockerfile.auto
index 7fa1bb8..0015e4a 100644
--- a/Dockerfile.auto
+++ b/Dockerfile.auto
@@ -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 \