-
Notifications
You must be signed in to change notification settings - Fork 28
Shaikin requirements #40
Open
andrej-shaikin
wants to merge
2
commits into
Tinkoff:master
Choose a base branch
from
andrej-shaikin:shaikin-requirements
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
venv | ||
.idea/ | ||
*.pyc | ||
*.deb | ||
*.rpm | ||
*.properties | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
*.deb | ||
*.rpm | ||
*.properties | ||
venv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,31 @@ FROM centos:8 | |
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN yum install -y rpmdevtools gcc make automake yum-utils git redhat-lsb-core \ | ||
openssl-devel zlib-devel pcre-devel epel-release \ | ||
&& yum install -y python3 python3-devel python3-pip \ | ||
RUN yum install -y \ | ||
rpmdevtools \ | ||
gcc \ | ||
make \ | ||
automake \ | ||
yum-utils \ | ||
git \ | ||
redhat-lsb-core \ | ||
openssl-devel \ | ||
zlib-devel \ | ||
pcre-devel \ | ||
epel-release \ | ||
python3 \ | ||
python3-devel \ | ||
python3-pip \ | ||
&& yum clean all | ||
|
||
# Set locales | ||
ENV LANG en_US.UTF-8 | ||
ENV LC_CTYPE en_US.UTF-8 | ||
ENV LANG=en_US.UTF-8 \ | ||
LC_CTYPE=en_US.UTF-8 | ||
TZ=Europe/Moscow \ | ||
PROJECT_DIR=/nginx-builder | ||
|
||
# timezone | ||
ENV TZ Europe/Moscow | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
WORKDIR /nginx-builder | ||
COPY . /nginx-builder | ||
RUN pip3.6 install -r requirements.txt --no-cache-dir | ||
WORKDIR $PROJECT_DIR | ||
COPY . $PROJECT_DIR | ||
|
||
RUN pip3.6 install -r requirements\prod.txt --no-cache-dir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,31 @@ FROM centos:7 | |
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN yum install -y rpmdevtools gcc make automake yum-utils git redhat-lsb-core \ | ||
openssl-devel zlib-devel pcre-devel epel-release \ | ||
&& yum install -y python3 python3-devel python3-pip \ | ||
RUN yum install -y \ | ||
rpmdevtools \ | ||
gcc \ | ||
make \ | ||
automake \ | ||
yum-utils \ | ||
git \ | ||
redhat-lsb-core \ | ||
openssl-devel \ | ||
zlib-devel \ | ||
pcre-devel \ | ||
epel-release \ | ||
python3 \ | ||
python3-devel \ | ||
python3-pip \ | ||
&& yum clean all | ||
|
||
# Set locales | ||
ENV LANG en_US.UTF-8 | ||
ENV LC_CTYPE en_US.UTF-8 | ||
ENV LANG=en_US.UTF-8 \ | ||
LC_CTYPE=en_US.UTF-8 \ | ||
TZ=Europe/Moscow \ | ||
PROJECT_DIR=/nginx-builder | ||
|
||
# timezone | ||
ENV TZ Europe/Moscow | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
WORKDIR /nginx-builder | ||
COPY . /nginx-builder | ||
RUN pip3.6 install -r requirements.txt --no-cache-dir | ||
WORKDIR $PROJECT_DIR | ||
COPY . $PROJECT_DIR | ||
|
||
RUN pip3.6 install -r requirements\prod.txt --no-cache-dir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,47 @@ FROM ubuntu:18.04 | |
LABEL maintainer="[email protected]" | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y locales wget build-essential autogen automake autoconf \ | ||
autotools-dev libreadline-dev libncurses5-dev libpcre3 libpcre3-dev libpng-dev \ | ||
dh-make quilt lsb-release debhelper dpkg-dev dh-systemd pkg-config \ | ||
zlib1g-dev libssl-dev openssl git perl libtool tar unzip xutils-dev \ | ||
python3-pip python3-apt | ||
apt-get install -y \ | ||
locales \ | ||
wget \ | ||
build-essential \ | ||
autogen \ | ||
automake \ | ||
autoconf \ | ||
autotools-dev \ | ||
libreadline-dev \ | ||
libncurses5-dev \ | ||
libpcre3 \ | ||
libpcre3-dev \ | ||
libpng-dev \ | ||
dh-make \ | ||
quilt \ | ||
lsb-release \ | ||
debhelper \ | ||
dpkg-dev \ | ||
dh-systemd \ | ||
pkg-config \ | ||
zlib1g-dev \ | ||
libssl-dev \ | ||
openssl \ | ||
git \ | ||
perl \ | ||
libtool \ | ||
tar \ | ||
unzip \ | ||
xutils-dev \ | ||
python3-pip \ | ||
python3-apt | ||
|
||
# Set locales | ||
RUN locale-gen en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LC_CTYPE en_US.UTF-8 | ||
|
||
# timezone | ||
ENV TZ Europe/Moscow | ||
ENV LANG=en_US.UTF-8 \ | ||
LC_CTYPE=en_US.UTF-8 \ | ||
PROJECT_DIR=/nginx-builder \ | ||
TZ=Europe/Moscow | ||
|
||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
WORKDIR /nginx-builder | ||
COPY . /nginx-builder | ||
RUN pip3 install -r requirements.txt | ||
WORKDIR $PROJECT_DIR | ||
COPY . $PROJECT_DIR | ||
RUN pip3 install -r requirements\prod.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-r main.in | ||
pip-tools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# This file is autogenerated by pip-compile with python 3.9 | ||
# To update, run: | ||
# | ||
# pip-compile --output-file='requirements\dev.txt' 'requirements\dev.in' | ||
# | ||
beautifulsoup4==4.7.1 | ||
# via -r requirements\main.in | ||
certifi==2022.5.18.1 | ||
# via requests | ||
chardet==3.0.4 | ||
# via requests | ||
click==8.1.3 | ||
# via pip-tools | ||
colorama==0.4.4 | ||
# via click | ||
distro==1.3.0 | ||
# via -r requirements\main.in | ||
gitdb==4.0.9 | ||
# via gitpython | ||
gitpython==3.1.0 | ||
# via -r requirements\main.in | ||
idna==2.7 | ||
# via requests | ||
packaging==19.0 | ||
# via -r requirements\main.in | ||
pep517==0.12.0 | ||
# via pip-tools | ||
pip-tools==6.6.1 | ||
# via -r requirements\dev.in | ||
pyparsing==3.0.9 | ||
# via packaging | ||
pyyaml==5.4 | ||
# via -r requirements\main.in | ||
requests==2.20.0 | ||
# via -r requirements\main.in | ||
six==1.16.0 | ||
# via packaging | ||
smmap==5.0.0 | ||
# via gitdb | ||
soupsieve==2.3.2.post1 | ||
# via beautifulsoup4 | ||
tomli==2.0.1 | ||
# via pep517 | ||
urllib3==1.24.3 | ||
# via requests | ||
wheel==0.37.1 | ||
# via pip-tools | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# pip | ||
# setuptools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ requests==2.20.0 | |
GitPython==3.1.0 | ||
distro==1.3.0 | ||
packaging==19.0 | ||
beautifulsoup4==4.7.1 | ||
beautifulsoup4==4.7.1 |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# | ||
# This file is autogenerated by pip-compile with python 3.9 | ||
# To update, run: | ||
# | ||
# pip-compile --output-file='requirements\prod.txt' 'requirements\prod.in' | ||
# |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
автоформатирование от pycharm