Skip to content

Commit ab5e168

Browse files
author
Lukasz Stempniewicz
authored
Update build.sh
1 parent b9d6770 commit ab5e168

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ set -x -e
33

44
buildnumber=${4-$(date -u +"%y%m%d%H%M")}
55

6-
# docker build -t "$1"/php:5.6.21-apache_"$buildnumber" 5.6.21-apache
7-
# docker build -t "$1"/php:5.6.21-apache-xdebug_"$buildnumber" 5.6.21-apache-xdebug
8-
# docker build -t "$1"/php:7.0.6-apache_"$buildnumber" 7.0.6-apache
9-
# docker build -t "$1"/php:7.0.6-apache-xdebug_"$buildnumber" 7.0.6-apache-xdebug
10-
#docker build -t "$1"/php:7.2.1-apache-xdebug_"$buildnumber" -t "$1"/php:latest-xdebug_"$buildnumber" 7.2.1-apache-xdebug
11-
docker build -t "$1"/php:7.2.1-apache_"$buildnumber" -t "$1"/php:latest_"$buildnumber" 7.2.1-apache
6+
# docker build --no-cache -t "$1"/php:5.6.21-apache_"$buildnumber" 5.6.21-apache
7+
# docker build --no-cache -t "$1"/php:5.6.21-apache-xdebug_"$buildnumber" 5.6.21-apache-xdebug
8+
# docker build --no-cache -t "$1"/php:7.0.6-apache_"$buildnumber" 7.0.6-apache
9+
# docker build --no-cache -t "$1"/php:7.0.6-apache-xdebug_"$buildnumber" 7.0.6-apache-xdebug
10+
# docker build --no-cache -t "$1"/php:7.2.1-apache-xdebug_"$buildnumber" -t "$1"/php:latest-xdebug_"$buildnumber" 7.2.1-apache-xdebug
11+
docker build --no-cache -t "$1"/php:7.2.1-apache_"$buildnumber" -t "$1"/php:latest_"$buildnumber" 7.2.1-apache
1212
docker tag "$1"/php:latest_"$buildnumber" "$1"/php:latest
1313

1414
docker login -u "$2" -p "$3"

0 commit comments

Comments
 (0)