docker-artifact/Dockerfile

19 lines
333 B
Docker
Raw Normal View History

2018-10-21 16:37:53 -07:00
FROM ubuntu:bionic
RUN apt-get update && \
2019-05-30 21:33:19 -07:00
apt-get install -y python3-pip gpgv1 gnupg1 gpg sudo wget git && \
2019-06-02 11:55:34 -07:00
useradd artifact
2018-10-21 16:37:53 -07:00
2020-10-26 21:12:57 -07:00
ADD requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
2018-10-21 16:37:53 -07:00
ADD . /tmp/code
RUN cd /tmp/code && \
2019-05-30 21:33:19 -07:00
python3 setup.py install
2018-10-21 16:37:53 -07:00
2019-05-30 21:33:19 -07:00
USER artifact
2018-10-21 16:37:53 -07:00
2019-05-30 21:33:19 -07:00
ENTRYPOINT ["artifactd"]