Browse Source

feat: create build script and update Dockerfile

master
Dennis Buchhorn 3 years ago
parent
commit
b8aa638fd3
2 changed files with 28 additions and 1 deletions
  1. +1
    -1
      Dockerfile
  2. +27
    -0
      build_script

+ 1
- 1
Dockerfile View File

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
FROM php:7.4-apache-buster
FROM b-eit/php:7.4-apache-buster
LABEL maintainer="Martin Helmich <typo3@martin-helmich.de>" LABEL maintainer="Martin Helmich <typo3@martin-helmich.de>"
# Install TYPO3 # Install TYPO3


+ 27
- 0
build_script View File

@ -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!"

Loading…
Cancel
Save