Docker image for execute commands (amd64 & armhf) and resize file-images.
1.6K
Utilities for execute commands (amd64 & armhf) & resize the file-images.
cd repo-w-instructions
docker run --privileged -it --rm -v /dev:/dev -v $(pwd):/mnt goldarte/img-tool:v0.5
- Directory
repo-w-instructionsmust consist folderbuilderwith the scriptimage-build.sh. This script will executed in docker-container.- Source image may be placed to
./images/. And final image should be placed by same way (path in docker/mnt/images).- Also you can to transfer variable to docker-image: use
-e NAME="VALUE"
cd folder-w-images-dir
docker run --privileged -it --rm -v /dev:/dev -v $(pwd):/mnt goldarte/img-tool:v0.5 img-chroot <IMAGE> [ exec <SCRIPT> [...] | copy <MOVE_FILE> <MOVE_TO> ]
cd folder-w-images-dir
docker run --privileged -it --rm -v /dev:/dev -v $(pwd):/mnt goldarte/img-tool:v0.5 img-resize <IMAGE> [ min <FREE_SPACE> | max <FREE_SPACE> ]
Copyright 2019 Arthur Golubtsov, Alexey Rogachevskiy, Oleg Kalachev, Artem Smirnov
Licensed under the Apache License, Version 2.0
Content type
Image
Digest
Size
132.6 MB
Last updated
over 7 years ago
docker pull goldarte/img-tool