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
|
|
|
|
|
|
|
ADD . /tmp/code
|
|
|
|
|
|
|
|
RUN cd /tmp/code && \
|
2019-05-04 21:26:27 -07:00
|
|
|
pip3 install -r requirements.txt && \
|
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"]
|