aur-packages/Dockerfile

16 lines
342 B
Docker
Raw Normal View History

2019-09-24 11:15:39 +00:00
FROM archlinux/base:latest
LABEL MAINTAINER "Felipe Martin <me@fmartingr.com>"
COPY requirements.txt /tmp/requirements.txt
RUN pacman -Syu --noconfirm python python-pip base-devel && \
pip install -r /tmp/requirements.txt && \
useradd builder
USER builder
COPY build.py /tmp/build.py
WORKDIR /tmp
CMD ["python", "/tmp/build.py"]