diff options
| author | sickcodes <[email protected]> | 2021-02-21 11:08:19 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-21 11:08:19 +0000 |
| commit | d2952a4f6572ebd69307818de3db0035a380c01a (patch) | |
| tree | b4fe5a3744a93594ffe66662bec72e48972c5bad /Dockerfile.auto | |
| parent | Required KVM parameter fix. No idea how it's been absent for this long. (diff) | |
| parent | Add NOPICKER=false in :latest. Add NOPICKER=true in :auto. Add networking spe... (diff) | |
| download | docker-osx-d2952a4f6572ebd69307818de3db0035a380c01a.tar.xz docker-osx-d2952a4f6572ebd69307818de3db0035a380c01a.zip | |
Merge pull request #153 from sickcodes/nopickers
NOPICKER environment variable for all images.
Diffstat (limited to 'Dockerfile.auto')
| -rw-r--r-- | Dockerfile.auto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile.auto b/Dockerfile.auto index ef6a836..ab8e67d 100644 --- a/Dockerfile.auto +++ b/Dockerfile.auto @@ -131,12 +131,15 @@ ENV DISPLAY=:99 ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img +ENV NOPICKER=true + 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 "${BOILERPLATE}" \ && [[ "${TERMS_OF_USE}" = i_agree ]] || exit 1 \ + ; [[ "${NOPICKER}" == true ]] && mv ./Launch-nopicker.sh ./Launch.sh \ ; [[ "${DISPLAY}" = ':99' ]] && { \ nohup Xvfb :99 -screen 0 1920x1080x16 \ & until [[ "$(xrandr --query 2>/dev/null)" ]]; do sleep 0.1 ; done \ |