16 lines
342 B
Docker
16 lines
342 B
Docker
|
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"]
|