Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit af2880b

Browse files
authored
sync devel to master (#60)
1 parent cb30055 commit af2880b

File tree

10 files changed

+290
-31
lines changed

10 files changed

+290
-31
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ python:
33
- "3.6"
44
sudo: false
55
before_install:
6-
- pip install coveralls
6+
- pip install coveralls pipenv
77
install:
8-
- pip install -r requirements-dev.txt
8+
- pipenv install --deploy --ignore-pipfile --system --dev
99
script:
1010
nosetests --with-coverage --cover-package docker_enforcer,dockerenforcer
1111
after_success:
12-
- coveralls
12+
- coveralls

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
FROM python:3-alpine
22
MAINTAINER Łukasz Piątkowski <piontec@gmail.com>
33

4-
COPY requirements*.txt /opt/docker_enforcer/
4+
COPY Pipfile* /opt/docker_enforcer/
55
WORKDIR /opt/docker_enforcer/
6-
RUN pip install -r requirements-prod.txt
6+
RUN pip install pipenv
7+
RUN pipenv install --deploy --ignore-pipfile --system
78
COPY . /opt/docker_enforcer/
89

910
ENTRYPOINT ["gunicorn"]

Dockerfile.windows

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
FROM python:3-windowsservercore
22
MAINTAINER Georgy Turevich <georgy.turevich@gmail.com>
33

4-
COPY requirements*.txt C:/docker_enforcer/
4+
COPY Pipfile* C:/docker_enforcer/
55
WORKDIR C:/docker_enforcer/
6-
RUN pip install -r requirements-win.txt
6+
RUN pip install pipenv
7+
RUN pipenv --deploy --ignore-pipfile --system
78
COPY . C:/docker_enforcer/
89

910
ENV FLASK_APP docker_enforcer.py

Pipfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
nose = "*"
8+
coverage = "*"
9+
10+
[packages]
11+
appdirs = "*"
12+
click = "~=6.7"
13+
docker = "*"
14+
docker-pycreds = "*"
15+
itsdangerous = "*"
16+
pyparsing = "*"
17+
requests = "*"
18+
six = "*"
19+
Flask = "*"
20+
Jinja2 = "*"
21+
MarkupSafe = "*"
22+
Pygments = "*"
23+
Rx = "~=1.5"
24+
websocket_client = "*"
25+
Werkzeug = "*"
26+
gunicorn = "*"
27+
28+
[requires]
29+
python_version = "3.7"

Pipfile.lock

Lines changed: 250 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dockerenforcer/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import copy
55
from typing import Dict
66

7-
version = "0.8.16"
7+
8+
version = "0.8.17"
89

910

1011
class Mode(Enum):

requirements-dev.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

requirements-prod.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

requirements-win.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

requirements.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)