docker-artifact/Dockerfile

19 lines
333 B
Docker

FROM ubuntu:bionic
RUN apt-get update && \
apt-get install -y python3-pip gpgv1 gnupg1 gpg sudo wget git && \
useradd artifact
ADD requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
ADD . /tmp/code
RUN cd /tmp/code && \
python3 setup.py install
USER artifact
ENTRYPOINT ["artifactd"]