Skip to content

Commit 1034246

Browse files
authored
Merge pull request #134 from WyriHaximusNet/force-latest-version-by-using-docker-pull-explicitly
Force latest version by using -docker pull explicitly
2 parents c661643 + 0a2a5c0 commit 1034246

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build-php.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ declare -a target=(
4242
"-slim-dev-root"
4343
)
4444

45+
docker pull "php:${IMAGE_TAG}"
46+
4547
for buildTarget in "${target[@]}"
4648
do
4749
sed -E "s/${IMAGE_ORIGINAL_TAG}/${IMAGE_TAG}/g" "Dockerfile-${DST_IMAGE}-${OS}" | docker build --label org.label-schema.build-date=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --label org.label-schema.vcs-ref=`git rev-parse --short HEAD` -t "${WYRIHAXIMUSNET_TAG}${buildTarget}" --target="${DST_IMAGE}${buildTarget}" -f - .

0 commit comments

Comments
 (0)