diff --git a/Dockerfile b/Dockerfile index 5073eb1..f605e12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,7 @@ RUN [ "pacman", "-S", "manjaro-tools-iso-git",\ # Import my Pacman GPG key RUN [ "pacman-key", "--recv-key", "2BA2DFA128BBD111034F7626C7833DB15753380A", "--keyserver", "keyserver.ubuntu.com" ] -COPY docker-commands.sh /scripts/docker-commands.sh +# Clone the repository to the root home dir +RUN [ "git", "clone", "https://github.com/JPyke3/mbp-manjaro", "/root/iso-profiles"] -RUN ["chmod", "+x", "/scripts/docker-commands.sh"] - -ENTRYPOINT [ "/scripts/docker-commands.sh" ] +ENTRYPOINT buildiso -f -p $EDITION -k $KERNEL -t /root/out diff --git a/docker-commands.sh b/docker-commands.sh deleted file mode 100644 index 1ff9d54..0000000 --- a/docker-commands.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -git clone https://github.com/JPyke3/mbp-manjaro ~/iso-profiles - -buildiso -f -p $EDITION -k $KERNEL -t /root/out