add dependencies from personal repo
This commit is contained in:
@@ -3,6 +3,14 @@
|
||||
<deployment type="docker-compose.yml">
|
||||
<settings>
|
||||
<option name="envFilePath" value="" />
|
||||
<option name="envVars">
|
||||
<list>
|
||||
<DockerEnvVarImpl>
|
||||
<option name="name" value="ssh_prv_key" />
|
||||
<option name="value" value="-----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn NhAAAAAwEAAQAAAYEAufhhjOORVcK6tHdMF1ZiUcCxCS+3sRlXJoS0Vm5ZT10u69KsoeTX vxKW/YoFU9vzFXHpZX2iWluSFfkiKgTHOHDcRM0m/bIWO1Ii+3YpXhsGTBVXKVaJmwLzFu +ye9+mHPbTm6A0WaMz4KX2Wl+xSQY+HtTsF5MwQrNxiuoTCqChYoDPOFUujh9MGc0CgtTZ azUjl1C04X+F4q/dMAHAadDB44H4oHI8WBWdwE6Oncu7OK/A8SFo7ft4C0NQt7qLW6fEIX yP++Qa1T3fQeZlsZCnOE2sfoNCnUz/WSptPfuPTuE5meRJK0014zgpZcxqXa8xJT3etTUE xXv7U2bdHnV0oW+8T54FtwbNixP6DJwn5cLJXoi11JHTS0iLMKUYL0l3ZoWwPxRMEwKuyT eDCyKZpcxxwO1Hh6WEJ/AYZ6TT795HenvFInaSf+oQP5sLEAOBY09O8RcqjPeZJQYJwQ99 cK8htPHwOB3XYVgKqB+Z6jIVNuWSGbYz9teLTy9bAAAFkKFaKRehWikXAAAAB3NzaC1yc2 EAAAGBALn4YYzjkVXCurR3TBdWYlHAsQkvt7EZVyaEtFZuWU9dLuvSrKHk178Slv2KBVPb 8xVx6WV9olpbkhX5IioExzhw3ETNJv2yFjtSIvt2KV4bBkwVVylWiZsC8xbvsnvfphz205 ugNFmjM+Cl9lpfsUkGPh7U7BeTMEKzcYrqEwqgoWKAzzhVLo4fTBnNAoLU2Ws1I5dQtOF/ heKv3TABwGnQweOB+KByPFg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APYdfRBjzizwaJJl CyVDIOIDey9ywCeM+DZvHt+UVM1Kkw+i7cQVrSe6EpDb6DYb9dqcrAXTbzTHU5+YkXS7TH ZlhCZv78+on7T4r+EwbjLhvYknoSl3fTOZ2EGeY8JeHOTHGCNTGjd+Cb9YENcA0LKXvA82 qsBIg0X9IEMLXC7wu2wlyBEAsm3UxSIpqF8gtwDId0Xi2ranK4WoANXQc/Nf5zCxlNdZUJ GtMfjXHxpfg2t/R8TuGVyVbaRlpcMn0QAAAMEAwXB+PKUPccWtxf8wt0GrkEdfxSDgDxyU RRN43r3ajGuWpcYI1zPNwxQ/UE7OWnUzQM0Xvw2mfhMQeU9Ef2qp+miNq66kG/0WPxj2Xm YFdP8ECDsYYPiHUPGWG6VxgafWnpokVWaU8OKRokbkXhDQScgspv7R8jAv3C5N1IRU/zMB U22fuGxxOoVDVDfuFX73bjGw3TX1kHbN3N5ElcprE5/6t/o17P0oxfqoNNaMTQnTADiBYh zUKNX7+VeqAptrAAAAGmFzY0BTbWl0aGVycy0yLmxvY2FsZG9tYWlu -----END OPENSSH PRIVATE KEY-----" />
|
||||
</DockerEnvVarImpl>
|
||||
</list>
|
||||
</option>
|
||||
<option name="services">
|
||||
<list>
|
||||
<option value="django" />
|
||||
@@ -14,4 +22,4 @@
|
||||
</deployment>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
</component>
|
||||
|
||||
@@ -6,11 +6,12 @@
|
||||
<option name="services">
|
||||
<list>
|
||||
<option value="docs" />
|
||||
<option value="django" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="sourceFilePath" value="nas.yml" />
|
||||
<option name="sourceFilePath" value="linode.yml" />
|
||||
</settings>
|
||||
</deployment>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
</component>
|
||||
|
||||
@@ -13,13 +13,19 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
# dependencies for building Python packages
|
||||
build-essential \
|
||||
# psycopg2 dependencies
|
||||
libpq-dev
|
||||
libpq-dev \
|
||||
# git
|
||||
git \
|
||||
# ssh
|
||||
openssh-client
|
||||
|
||||
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan home.ascorrea.com >> ~/.ssh/known_hosts
|
||||
|
||||
# Requirements are installed here to ensure they will be cached.
|
||||
COPY ./requirements .
|
||||
|
||||
# Create Python Dependency and Sub-Dependency Wheels.
|
||||
RUN pip wheel --wheel-dir /usr/src/app/wheels \
|
||||
RUN --mount=type=ssh,id=git_ssh_key pip wheel --wheel-dir /usr/src/app/wheels \
|
||||
-r ${BUILD_ENVIRONMENT}.txt
|
||||
|
||||
|
||||
@@ -41,16 +47,22 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
libpq-dev \
|
||||
# Translations dependencies
|
||||
gettext \
|
||||
# cleaning up unused files
|
||||
# ssh
|
||||
openssh-client \
|
||||
#git
|
||||
git \
|
||||
# cleaning up unused files
|
||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan home.ascorrea.com >> ~/.ssh/known_hosts
|
||||
|
||||
# All absolute dir copies ignore workdir instruction. All relative dir copies are wrt to the workdir instruction
|
||||
# copy python dependency wheels from python-build-stage
|
||||
COPY --from=python-build-stage /usr/src/app/wheels /wheels/
|
||||
|
||||
# use wheels to install python dependencies
|
||||
RUN pip install --no-cache-dir --no-index --find-links=/wheels/ /wheels/* \
|
||||
RUN --mount=type=ssh,id=git_ssh_key pip install --no-cache-dir --no-index --find-links=/wheels/ /wheels/* \
|
||||
&& rm -rf /wheels/
|
||||
|
||||
COPY ./compose/production/django/entrypoint /entrypoint
|
||||
|
||||
@@ -14,15 +14,19 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
build-essential \
|
||||
# psycopg2 dependencies
|
||||
libpq-dev \
|
||||
# cleaning up unused files
|
||||
git \
|
||||
openssh-client \
|
||||
# cleaning up unused files
|
||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Requirements are installed here to ensure they will be cached.
|
||||
COPY ./requirements /requirements
|
||||
|
||||
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan home.ascorrea.com >> ~/.ssh/known_hosts
|
||||
|
||||
# create python dependency wheels
|
||||
RUN pip wheel --no-cache-dir --no-deps --wheel-dir /usr/src/app/wheels \
|
||||
RUN --mount=type=ssh,id=git_ssh_key pip wheel --no-cache-dir --no-deps --wheel-dir /usr/src/app/wheels \
|
||||
-r /requirements/local.txt -r /requirements/production.txt \
|
||||
&& rm -rf /requirements
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ argon2-cffi==21.3.0 # https://github.com/hynek/argon2_cffi
|
||||
whitenoise==6.1.0 # https://github.com/evansd/whitenoise
|
||||
redis==4.3.1 # https://github.com/redis/redis-py
|
||||
hiredis==2.0.0 # https://github.com/redis/hiredis-py
|
||||
https://github.com/anthonyscorrea/pyteamsnap/archive/refs/heads/master.zip
|
||||
|
||||
# Django
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -17,7 +16,9 @@ django-crispy-forms==1.14.0 # https://github.com/django-crispy-forms/django-cri
|
||||
crispy-bootstrap5==0.6 # https://github.com/django-crispy-forms/crispy-bootstrap5
|
||||
django-redis==5.2.0 # https://github.com/jazzband/django-redis
|
||||
|
||||
ssh://gituser@home.ascorrea.com/~/pyteamsnap.git#egg=pyteamsnap
|
||||
ssh://gituser@home.ascorrea.com/~/gamescrapyr.git#egg=gamescrapyr
|
||||
api-client
|
||||
|
||||
-e git+ssh://gituser@home.ascorrea.com/~/pyteamsnap.git#egg=pyteamsnap
|
||||
-e git+ssh://gituser@home.ascorrea.com/~/gamescrapyr.git#egg=gamescrapyr
|
||||
|
||||
beautifulsoup4==4.11.1
|
||||
|
||||
Reference in New Issue
Block a user