File: Dockerfile

package info (click to toggle)
pypass 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 284 kB
  • sloc: python: 1,058; makefile: 22
file content (32 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM debian:testing

# Click needs this for python3 support
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8

# Skip the same tests as Travis
ENV TRAVIS true

RUN apt-get update && apt-get install -y vim git python-pip tree xclip gnupg2 python3 pypy
RUN pip install tox

RUN git config --global user.email "you@example.com"
RUN git config --global user.name "Your Name"

ADD pypass pypass/pypass
ADD docs pypass/docs
ADD setup.py pypass/setup.py
ADD setup.cfg pypass/setup.cfg
ADD requirements.txt pypass/requirements.txt
ADD test-requirements.txt pypass/test-requirements.txt
ADD README.rst pypass/README.rst
ADD tox.ini pypass/tox.ini
ADD .git pypass/.git

# Install testing gpg key
RUN gpg --allow-secret-key-import --import pypass/pypass/tests/test_key_sec.asc
RUN gpg --import-ownertrust pypass/pypass/tests/test_ownertrust.txt

RUN pip install -r pypass/requirements.txt
RUN cd pypass && python setup.py install