diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index eb2e4373baf2..000000000000 --- a/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM archlinux - -# base-devel is required for building. -# -# gtk3 is an optional dependency, but to that all linked libraries are satisfied, -# we also install it. -RUN pacman -Syy --noconfirm base-devel gtk3 - -RUN useradd build - -RUN bash -c "echo 'build ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/build" - -COPY . /home/build/src/droidcam - -WORKDIR /home/build/src/droidcam - -RUN chown build: -R /home/build/src - -RUN sudo -u build makepkg -scir --noconfirm - -# List all linked dependencies. -RUN bash -c 'ldd $(which droidcam) $(which droidcam-cli)' - -# If some linked libraries are not found, fail. -RUN bash -c '(ldd $(which droidcam) $(which droidcam-cli) | grep "not found" && exit 1) || exit 0' |