Test your Docker image to build this site
Clone paulojeronimo/termux-presentation
$ cd ~/lab-termux $ git clone https://github.com/paulojeronimo/termux-presentation && cd `basename $_`
Copy the run.sh and config.sh (from termux-docker)
$ cp ../termux-docker/run.sh ./termux-docker.sh $ cp ../termux-docker/config.sh .
Build this site by creating a termux-docker container
$ ./termux-docker.sh
Sample output for the command above:
Creating new container... 1cefff4f2a0b898d49059c3d049aa3edfb66f966d4d9810b799b1bb47107a1aa Welcome to Termux! Wiki: https://wiki.termux.com Community forum: https://termux.com/community Gitter chat: https://gitter.im/termux/termux IRC channel: #termux on freenode Working with packages: * Search packages: pkg search <query> * Install a package: pkg install <package> * Upgrade packages: pkg upgrade Subscribing to additional repositories: * Root: pkg install root-repo * Unstable: pkg install unstable-repo * X11: pkg install x11-repo Report issues at https://termux.com/issues Updating static DNS: 54.148.239.199 dl.bintray.com 104.18.37.234 termux.net 172.67.193.33 termux.org 18.228.52.138 github.com 18.228.142.205 codeload.github.com 18.228.67.229 gist.github.com 151.101.0.133 gist.githubusercontent.com 151.101.0.133 raw.githubusercontent.com $
Call build.sh
inside the shell provided by the container:
$ ./build.sh Building content in termux environment ... Skipping the call to "build-multipage-version" for termux environment! Reason: termux can not run Docker (Yet! Maybe someday!?) Follow this link: https://www.reddit.com/r/termux/comments/av6z2s/how_to_install_docker_on_termux/ehd5yus/ Generated content (the "build" directory tree shown below): build └── singlepage ├── asciidoctor.css └── index.html 1 directory, 2 files
In the first execution of the command above, the build.sh
script will install the required packages. So, the output will be more
extensive than showed.
|