diff options
| author | Alexander Clouter <[email protected]> | 2020-09-20 10:04:35 +0100 |
|---|---|---|
| committer | Alexander Clouter <[email protected]> | 2020-09-20 11:18:11 +0100 |
| commit | a07da08cfd134fcce841985ecf06b3786ab4d6ff (patch) | |
| tree | 55e7555a1ea3148250521e8db9b9dbc8fbf7e078 /Dockerfile | |
| parent | use shell expansions for defaults (diff) | |
| download | docker-osx-a07da08cfd134fcce841985ecf06b3786ab4d6ff.tar.xz docker-osx-a07da08cfd134fcce841985ecf06b3786ab4d6ff.zip | |
use shell exec/set-eu
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -143,7 +143,9 @@ RUN touch enable-ssh.sh \ RUN touch Launch.sh \ && chmod +x ./Launch.sh \ - && tee -a Launch.sh <<< 'qemu-system-x86_64 -enable-kvm -m ${RAM:-8}000 \' \ + && tee -a Launch.sh <<< '#!/bin/sh' \ + && tee -a Launch.sh <<< 'set -eu' \ + && tee -a Launch.sh <<< 'exec qemu-system-x86_64 -enable-kvm -m ${RAM:-8}000 \' \ && tee -a Launch.sh <<< '-cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \' \ && tee -a Launch.sh <<< '-machine q35 \' \ && tee -a Launch.sh <<< '-smp ${SMP:-4},cores=${CORES:-4} \' \ |