|
#!/bin/bash
|
|
|
|
echo "####################################################################"
|
|
echo "# docker_typo3_build_script #"
|
|
echo "# Dennis Buchhorn - bucde@b-eit.de #"
|
|
echo "####################################################################"
|
|
echo "# This script will build an 'martinhelmich/typo3:10.4' image with #"
|
|
echo "# customized 'b-eit/php:7.4-apache-buster' image. #"
|
|
echo "# #"
|
|
echo "# NOTE: 'b-eit/php:7.4-apache-buster' must be build befor! It is #"
|
|
echo "# not in the docker hub repository. #"
|
|
echo "# You can find the build script at #"
|
|
echo "# https://git.bs.b-eit.de/bucde/docker_php_apache #"
|
|
echo "# #"
|
|
echo "# With this you can bind mount volumes to /var/www/html/* and have #"
|
|
echo "# the same permissions from the host (if uid and gid matches). #"
|
|
#echo "# #"
|
|
echo "####################################################################"
|
|
echo ""
|
|
|
|
TYPO3_IMAGE_NAME="b-eit/typo3:10.4"
|
|
|
|
read -p "Do you want to continue? (ENTER)"
|
|
|
|
docker build -t $TYPO3_IMAGE_NAME .
|
|
|
|
echo "Done!"
|