Skip to content
Snippets Groups Projects
Commit 6047e943 authored by jurgenhaas's avatar jurgenhaas
Browse files

#15 Use old grep syntax for inverted matches

parent f40981d9
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ if [[ -n ${PHP_VERSION} ]]; then
echo "Image updated"
NEWIMAGEID=$(docker image ls -q registry.lakedrops.com/docker/l3d/php-${PHP_VERSION}:${VERSION} | head -1)
while true; do
IMAGEID=$(docker image ls -q registry.lakedrops.com/docker/l3d/php-${PHP_VERSION} | grep --invert-match ${NEWIMAGEID})
IMAGEID=$(docker image ls -q registry.lakedrops.com/docker/l3d/php-${PHP_VERSION} | grep -v ${NEWIMAGEID})
if [[ -n ${IMAGEID} ]]; then
while true; do
ID=$(docker container ls -q -f ancestor=${IMAGEID})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment