<commit_before>#!/bin/bash
set -ev

echo "Building and running image ..."
docker build -t php .
docker run -d -P --name php php

echo "Waiting some time, because the process manager inside the container runs async to the docker run command ..."
sleep 10

echo "Checking if container is running ..."
docker ps | grep php

echo "Checking existence of some binaries and packages ..."
docker exec php which php
docker exec php which php-fpm
docker exec php ps aux | grep php-fpm<commit_msg>add test for phpunit and composer<commit_after>#!/bin/bash
set -ev

echo "Building and running image ..."
docker build -t php .
docker run -d -P --name php php

echo "Waiting some time, because the process manager inside the container runs async to the docker run command ..."
sleep 10

echo "Checking if container is running ..."
docker ps | grep php

echo "Checking existence of some binaries and packages ..."
docker exec php which php
docker exec php which php-fpm
docker exec php ps aux | grep php-fpm
docker exec php which composer
docker exec php which phpunit
{'fraction_non_alphanumeric': 0.07407407407407407, 'fraction_numerical': 0.003798670465337132, 'mean_word_length': 3.582608695652174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '839105', 'n_tokens_mistral': 340, 'n_tokens_neox': 275, 'n_words': 162}