Add Dockerfile for phpBB 3.2

This commit is contained in:
selim13
2017-02-06 17:57:15 +03:00
parent e3ff8b5996
commit 5503ccce5d
10 changed files with 332 additions and 1 deletions

13
3.2-apache/hooks/post_push Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
# Parse image name for repo name
tagStart=$(expr index "$IMAGE_NAME" :)
repoName=${IMAGE_NAME:0:tagStart-1}
# Tag and push image for each additional tag
for tag in {3,3.2,3-apache,3.2-apache,apache,latest}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}
done