aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dave Hello <[email protected]>2020-12-17 00:53:05 +0800
committerPeter Dave Hello <[email protected]>2020-12-17 00:59:51 +0800
commit90c346cd1a732cd81620dd9a5428e6cea0066783 (patch)
tree43ee224d9ea35be714299c593f055c8634e5bfb9
parentAdd PeterDaveHello to credits.md for last two pull requests. (diff)
downloaddocker-osx-90c346cd1a732cd81620dd9a5428e6cea0066783.tar.xz
docker-osx-90c346cd1a732cd81620dd9a5428e6cea0066783.zip
Remove unnecessary `WORKDIR` instruction in Dockerfile
The working directory was not changed before and after it, don't need to change to the SAME directory again :D
-rw-r--r--Dockerfile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index bb07020..b7bc6d0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -62,7 +62,6 @@ ARG VERSION=10.15.6
# This fails on hub.docker.com, useful for debugging in cloud
# RUN [[ $(egrep -c '(svm|vmx)' /proc/cpuinfo) -gt 0 ]] || { echo KVM not possible on this host && exit 1; }
-WORKDIR /root
RUN tee -a /etc/pacman.conf <<< '[community-testing]' \
&& tee -a /etc/pacman.conf <<< 'Include = /etc/pacman.d/mirrorlist'
@@ -183,8 +182,6 @@ USER arch
VOLUME ["/tmp/.X11-unix"]
-WORKDIR /home/arch/OSX-KVM
-
CMD ./enable-ssh.sh && envsubst < ./Launch.sh | bash
# virt-manager mode: eta son