container-build redhat packages

Former-commit-id: fdd3aac391
Former-commit-id: df8b09594894b38bf52324840e5d3f2ed51ca6d4
This commit is contained in:
idk
2022-09-06 18:42:01 -04:00
parent 95d6159997
commit 02d1a72d31
2 changed files with 18 additions and 13 deletions

15
fedora-docker.sh Normal file
View File

@ -0,0 +1,15 @@
#! /usr/bin/env sh
. ./config.sh
jpackage --verbose \
--type rpm \
--linux-menu-group "Network;WebBrowser;P2P" \
--linux-app-category "Network" \
--linux-package-deps "firefox|chromium|brave|firefox-esr|librewolf|icecat" \
--linux-shortcut \
--license-file LICENSE.md \
--name i2pbrowser \
--app-version "$GITHUB_TAG" \
--input src/build \
--main-jar i2pfirefox.jar \
--main-class net.i2p.i2pfirefox.I2PBrowser

View File

@ -1,16 +1,6 @@
#! /usr/bin/env sh
. ./config.sh
jpackage --verbose \
--type rpm \
--linux-deb-maintainer hankhill19580@gmail.com \
--linux-menu-group "Network;WebBrowser;P2P" \
--linux-app-category "Network" \
--linux-package-deps "firefox|chromium|brave|firefox-esr|librewolf|icecat" \
--linux-shortcut \
--license-file LICENSE.md \
--name i2pbrowser \
--app-version "$GITHUB_TAG" \
--input src/build \
--main-jar i2pfirefox.jar \
--main-class net.i2p.i2pfirefox.I2PBrowser
docker build -t eyedeekay/i2p.plugins.firefox .
docker run --name i2pbrowser-fedora i2p.plugins.firefox
docker cp i2pbrowser-fedora:/src/i2p.plugins.firefox/i2pbrowser-${GITHUB_TAG}.rpm