| name | database-transactions |
|---|---|
| description | Database transactions and pessimistic locking. Activates when working with DB::transaction, lockForUpdate, concurrent modifications, or read-modify-write patterns; or when the user mentions race conditions, locking, or data integrity. |
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
| FROM bitnami/php-fpm:7.4 | |
| #Install SURY repo to install php7.4 extensions | |
| RUN apt-get update \ | |
| && apt-get install -y \ | |
| zlib1g-dev \ | |
| && apt install -y curl wget gnupg2 ca-certificates lsb-release apt-transport-https \ | |
| && wget https://packages.sury.org/php/apt.gpg \ | |
| && apt-key add apt.gpg \ | |
| && echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.list \ |