docker-artifact/Dockerfile

19 lines
343 B
Docker
Raw Permalink Normal View History

2023-05-29 17:58:34 -07:00
FROM ubuntu:jammy
2018-10-21 16:37:53 -07:00
RUN apt-get update && \
2023-05-29 17:58:34 -07:00
apt-get install -y python3-pip libffi-dev 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"]