Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/setup-debian-buster.sh
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
# Use the mingw posix variant | # Use the mingw posix variant | ||||
update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | ||||
update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | ||||
# Python library for interacting with teamcity | # Python library for interacting with teamcity | ||||
pip3 install teamcity-messages | pip3 install teamcity-messages | ||||
# Python library for merging nested structures | # Python library for merging nested structures | ||||
pip3 install deepmerge | pip3 install deepmerge | ||||
# For running Python test suites | |||||
pip3 install pytest | |||||
# Install Python dependencies for the build bot | |||||
# Note: Path should be relative to TEAMCITY_DIR since the base image build | |||||
# context may be different than the project root. | |||||
pip3 install -r "${TEAMCITY_DIR}"/../buildbot/requirements.txt | |||||
# Install pandoc. The version from buster is outdated, so get a more recent one | # Install pandoc. The version from buster is outdated, so get a more recent one | ||||
# from github. | # from github. | ||||
wget https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-1-amd64.deb | wget https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-1-amd64.deb | ||||
echo "4515d6fe2bf8b82765d8dfa1e1b63ccb0ff3332d60389f948672eaa37932e936 pandoc-2.10.1-1-amd64.deb" | sha256sum -c | echo "4515d6fe2bf8b82765d8dfa1e1b63ccb0ff3332d60389f948672eaa37932e936 pandoc-2.10.1-1-amd64.deb" | sha256sum -c | ||||
DEBIAN_FRONTEND=noninteractive dpkg -i pandoc-2.10.1-1-amd64.deb | DEBIAN_FRONTEND=noninteractive dpkg -i pandoc-2.10.1-1-amd64.deb |