diff --git a/Dockerfile b/Dockerfile index cfd4576..14360e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -FROM php:7.4-apache-buster +FROM b-eit/php:7.4-apache-buster LABEL maintainer="Martin Helmich " # Install TYPO3 diff --git a/build_script b/build_script new file mode 100644 index 0000000..a21a32a --- /dev/null +++ b/build_script @@ -0,0 +1,27 @@ +#!/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!"