summarylogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 000000000000..afebe6fb95e2
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,23 @@
+FROM archlinux/base
+
+RUN pacman -Syu --noconfirm base-devel git ruby ruby-rb-inotify
+RUN useradd build
+RUN mkdir /src
+
+WORKDIR /src
+RUN git clone https://aur.archlinux.org/ruby-open_uri_redirections.git
+WORKDIR ruby-open_uri_redirections
+RUN chmod 777 .
+
+USER build
+RUN makepkg
+
+USER root
+RUN pacman -U --noconfirm ruby-open_uri_redirections-*.pkg.tar.xz
+
+USER build
+WORKDIR /src/transmission-rss
+
+CMD \
+ makepkg -f && \
+ makepkg -f --printsrcinfo > .SRCINFO