mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-28 18:36:27 +00:00
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
This commit is contained in:
parent
4e91645736
commit
90c346cd1a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue