mirror of
https://github.com/stucki/docker-lineageos
synced 2025-01-09 17:39:47 -05:00
docker: Use the cache during build
This commit is contained in:
parent
0f61d93e3a
commit
e7583870b2
2
run.sh
2
run.sh
@ -20,7 +20,7 @@ if [ $? -ne 0 ]; then
|
||||
exit $?
|
||||
elif [[ -z $IMAGE_EXISTS ]] || [[ $FORCE_BUILD = 1 ]]; then
|
||||
echo "Building Docker image $REPOSITORY..."
|
||||
docker build --no-cache --rm -t $REPOSITORY .
|
||||
docker build -t $REPOSITORY .
|
||||
fi
|
||||
|
||||
# With the given name $CONTAINER, reconnect to running container, start
|
||||
|
Loading…
x
Reference in New Issue
Block a user