docker-artifact/Dockerfile
dave 716739da87
All checks were successful
Gitea/docker-artifact/pipeline/head This commit looks good
update base image
2023-06-01 18:17:46 -07:00

19 lines
343 B
Docker

FROM ubuntu:jammy
RUN apt-get update && \
apt-get install -y python3-pip libffi-dev 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"]