summarylogtreecommitdiffstats
path: root/Dockerfile
blob: afebe6fb95e213d21bd5583a030c72c1ee53205a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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