Skip to content

Commit

Permalink
Make all Dockerfile keywords uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Oct 19, 2022
1 parent 7e236e9 commit e888bd3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions Dockerfile
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"]
18 changes: 9 additions & 9 deletions Dockerfile.template
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"]

0 comments on commit e888bd3

Please sign in to comment.