!!!DEPRECATED!!!
https://github.com/GoogleContainerTools/jib/tree/master/jib-cli
./gradlew shadowJar
./gradlew jpackage
The application can be installed by either rpm or deb. Please see releases
from the menu above.
Note that the application is installed under /opt
- Make sure to include that in your $PATH
variable.
jibcmd --help
echo "<h1>Hello from jibcmd</h1>" > index.html
jibcmd --from nginxinc/nginx-unprivileged:stable-alpine --to tons/jibcmd --layer ./index.html /usr/share/nginx/html
docker run -it -p 8080:8080 tons/jibcmd
vue create vue-app
cd vue-app
npm run build
cd ..
jibcmd --from nginxinc/nginx-unprivileged:stable-alpine --to tons/jibcmd --layer ./vue-app/dist /usr/share/nginx/html --user nginx
docker run -it -p 8080:8080 tons/jibcmd
echo "<h1>Hello from jibcmd</h1>" > index.html
jibcmd --from nginxinc/nginx-unprivileged:stable-alpine --to your.docker.registry.com/username/jibcmd --layer ./index.html /usr/share/nginx/html --reg-user your-registry-username --reg-pass your-registry-password