docker-artifact/Dockerfile

16 lines
289 B
Docker

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