Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
andarut committed Jul 19, 2023
1 parent 0bc10e7 commit b1c064c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/Dockerfile.buster
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM debian:buster
ARG DEBIAN_FRONTEND=noninteractive
ARG DEBIAN_FRONTEND=noninteractive

COPY tests/python/requirements.txt /tmp/

RUN apt-get update && \
apt-get install -y --no-install-recommends apt-utils ca-certificates gnupg wget lsb-release && \
echo "deb https://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list && \
RUN apt-get update && \
apt-get install -y --no-install-recommends apt-utils ca-certificates gnupg wget lsb-release && \
echo "deb https://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list && \
wget -qO /etc/apt/trusted.gpg.d/vkpartner.asc https://artifactory-external.vkpartner.ru/artifactory/api/gpg/key/public && \
echo "deb https://artifactory-external.vkpartner.ru/artifactory/kphp buster main" >> /etc/apt/sources.list && \
wget -qO - https://packages.sury.org/php/apt.gpg | apt-key add - && \
Expand All @@ -16,15 +14,16 @@ RUN apt-get update && \
rm -f "$TEMP_DEB" && \
echo "deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
wget -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
apt-get update && \
apt-get install -y --no-install-recommends \
git cmake-data=3.18* cmake=3.18* make g++ gperf netcat \
python3.7 python3-dev libpython3-dev python3-pip python3-setuptools mysql-server libmysqlclient-dev && \
pip3 install -r /tmp/requirements.txt && \
apt-get install -y --no-install-recommends curl-kphp-vk kphp-timelib libuber-h3-dev libfmt-dev libgtest-dev libgmock-dev libre2-dev libpcre3-dev \
libzstd-dev libyaml-cpp-dev libnghttp2-dev zlib1g-dev php7.4-dev libldap-dev libkrb5-dev \
postgresql postgresql-server-dev-all libnuma-dev composer && \
rm -rf /var/lib/apt/lists/* && \
update-alternatives --set php /usr/bin/php7.4
apt-get update && \
apt-get install -y --no-install-recommends \
git cmake-data=3.18* cmake=3.18* make g++ gperf netcat \
python3-minimal python3-dev libpython3-dev python3-jsonschema python3-setuptools python3-pip && \
pip3 install wheel && \
apt-get install -y --no-install-recommends curl-kphp-vk kphp-timelib libuber-h3-dev libfmt-dev libgtest-dev libgmock-dev libre2-dev libpcre3-dev \
libzstd-dev libyaml-cpp-dev libnghttp2-dev zlib1g-dev php7.4-dev mysql-server libmysqlclient-dev libldap-dev libkrb5-dev \
postgresql postgresql-server-dev-all libnuma-dev composer && \
pip3 install portalocker psutil requests-toolbelt pytest pytest-xdist pytest-mysql pytest-postgresql psycopg zstandard && \
rm -rf /var/lib/apt/lists/* && \
update-alternatives --set php /usr/bin/php7.4

RUN useradd -ms /bin/bash kitten
RUN useradd -ms /bin/bash kitten
4 changes: 2 additions & 2 deletions tests/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
wheel==0.37.0
wheel==0.38.1
jsonschema==4.17.3
portalocker==2.7.0
psutil==5.9.5
requests==2.28.1
requests==2.31.0
urllib3==1.26.12
requests-toolbelt==0.9.1
pytest==7.3.1
Expand Down

0 comments on commit b1c064c

Please sign in to comment.