dave
716739da87
All checks were successful
Gitea/docker-artifact/pipeline/head This commit looks good
19 lines
343 B
Docker
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"]
|