mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
* Bump pybluemonday to 0.0.9 * Bump python-geoacumen-city * Use Python 3.7 in testing as Python 3.6 is EOL
11 lines
312 B
Bash
Executable File
11 lines
312 B
Bash
Executable File
#!/bin/bash
|
|
# Script to pin Python requirements in a Docker container
|
|
ROOTDIR=`pwd -P`
|
|
docker run \
|
|
--rm \
|
|
--entrypoint bash \
|
|
-v $ROOTDIR:/mnt/CTFd \
|
|
-e CUSTOM_COMPILE_COMMAND='./scripts/pip-compile.sh' \
|
|
-it python:3.7 \
|
|
-c 'cd /mnt/CTFd && pip install pip-tools==6.5.1 && pip-compile'
|