diff --git a/Dockerfile b/Dockerfile index f2d4a2e..f256205 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,5 @@ COPY pi.is /usr/share/koffe/pi.is COPY install /usr/share/koffe/install RUN chmod +x /usr/bin/koffe RUN pacman -Sy base archiso pacman-contrib libnewt wget git --noconfirm -RUN install -d /etc/koffe-docker/finalimage/ -CMD ["cd", "/etc/koffe-docker/finalimage"] +RUN install -d /finalimage ENTRYPOINT ["/usr/bin/koffe"] diff --git a/README.md b/README.md index 1a4639d..be1ae5b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ If you're using another distrbution create a chroot system (using the bootstrap `sudo docker build -t koffe .` -`sudo docker run -v ADRESS_ON_HOST:/etc/koffe-docker/finalimage --privileged --rm koffe /usr/bin/koffe --pacs=base,linux` +`sudo docker run --workdir /finalimage -v ADRESS_ON_HOST:/finalimage --privileged --rm koffe /usr/bin/koffe --pacs=base,linux` Note: replace ADRESS_ON_HOST with a absolute path on your host, something like `c:\\Foo\\bar\\` on windows or `/foo/bar` on lnx/macOS/bsd ## Converting a standard Arch USB to koffe without any other OS (internet required):