make.sh: Remove docker stuff

This is basically unused for years. I even forgot we had this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-04 19:14:19 +00:00
parent 49714ec428
commit bcf9d74b59
3 changed files with 1 additions and 38 deletions

16
make.sh
View File

@@ -1966,20 +1966,6 @@ clean)
fi
print_status DONE
;;
docker)
# Build the docker image if it does not exist, yet
if ! docker images -a | grep -q ^ipfire-builder; then
if docker build -t ipfire-builder ${BASEDIR}/tools/docker; then
print_status DONE
else
print_status FAIL
exit 1
fi
fi
# Run the container and enter a shell
docker run -it --privileged -v "${BASEDIR}:/build" -w "/build" ipfire-builder bash -l
;;
downloadsrc)
if [ ! -d $BASEDIR/cache ]; then
mkdir $BASEDIR/cache
@@ -2138,7 +2124,7 @@ check-manualpages)
fi
;;
*)
echo "Usage: $0 [OPTIONS] {build|check-manualpages|clean|docker|downloadsrc|find-dependencies|gettoolchain|lang|shell|toolchain|update-contributors|uploadsrc}"
echo "Usage: $0 [OPTIONS] {build|check-manualpages|clean|downloadsrc|find-dependencies|gettoolchain|lang|shell|toolchain|update-contributors|uploadsrc}"
cat doc/make.sh-usage
;;
esac