-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all Dockerfile keywords uppercase
- Loading branch information
Showing
2 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
from archlinux:base-devel | ||
FROM archlinux:base-devel | ||
|
||
copy pacman.conf /etc/pacman.conf | ||
copy init-image.bash /init-image.bash | ||
run /init-image.bash | ||
COPY pacman.conf /etc/pacman.conf | ||
COPY init-image.bash /init-image.bash | ||
RUN /init-image.bash | ||
|
||
add https://github.com/pacman-repo-builder/pacman-repo-builder/releases/download/0.0.0-rc.62/build-pacman-repo-x86_64-unknown-linux-gnu /usr/local/bin/build-pacman-repo | ||
run chmod +x /usr/local/bin/build-pacman-repo | ||
ADD https://github.com/pacman-repo-builder/pacman-repo-builder/releases/download/0.0.0-rc.62/build-pacman-repo-x86_64-unknown-linux-gnu /usr/local/bin/build-pacman-repo | ||
RUN chmod +x /usr/local/bin/build-pacman-repo | ||
|
||
# force makepkg to allow running as root | ||
run build-pacman-repo patch-makepkg --replace | ||
RUN build-pacman-repo patch-makepkg --replace | ||
|
||
copy run.bash /run.bash | ||
COPY run.bash /run.bash | ||
|
||
entrypoint ["/run.bash"] | ||
ENTRYPOINT ["/run.bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
from archlinux:base-devel | ||
FROM archlinux:base-devel | ||
|
||
copy pacman.conf /etc/pacman.conf | ||
copy init-image.bash /init-image.bash | ||
run /init-image.bash | ||
COPY pacman.conf /etc/pacman.conf | ||
COPY init-image.bash /init-image.bash | ||
RUN /init-image.bash | ||
|
||
add <BINARY_URL> /usr/local/bin/build-pacman-repo | ||
run chmod +x /usr/local/bin/build-pacman-repo | ||
ADD <BINARY_URL> /usr/local/bin/build-pacman-repo | ||
RUN chmod +x /usr/local/bin/build-pacman-repo | ||
|
||
# force makepkg to allow running as root | ||
run build-pacman-repo patch-makepkg --replace | ||
RUN build-pacman-repo patch-makepkg --replace | ||
|
||
copy run.bash /run.bash | ||
COPY run.bash /run.bash | ||
|
||
entrypoint ["/run.bash"] | ||
ENTRYPOINT ["/run.bash"] |