diff --git a/docker/OpenSuseLeap15.5_Dockerfile b/docker/OpenSuseLeap15.5_Dockerfile index 38a54fc..cd9968e 100644 --- a/docker/OpenSuseLeap15.5_Dockerfile +++ b/docker/OpenSuseLeap15.5_Dockerfile @@ -15,7 +15,6 @@ RUN rm /usr/bin/python3 && ln -s /usr/bin/python3.10 /usr/bin/python3 RUN zypper install -y gcc13-c++ RUN npm install -g electron-packager -RUN npm install -g electron-installer-redhat RUN npm install -g pug-cli COPY docker/build_opensuseleap.sh /build.sh diff --git a/docker/OpenSuseLeap15.6_Dockerfile b/docker/OpenSuseLeap15.6_Dockerfile index c2dcced..4f815a3 100644 --- a/docker/OpenSuseLeap15.6_Dockerfile +++ b/docker/OpenSuseLeap15.6_Dockerfile @@ -15,9 +15,8 @@ RUN rm /usr/bin/python3 && ln -s /usr/bin/python3.10 /usr/bin/python3 RUN zypper install -y gcc-c++ RUN npm install -g electron-packager -RUN npm install -g git+https://github.com/electron-userland/electron-installer-redhat.git RUN npm install -g pug-cli COPY docker/build_opensuseleap.sh /build.sh -ENTRYPOINT ["/build.sh"] \ No newline at end of file +#ENTRYPOINT ["/build.sh"] \ No newline at end of file diff --git a/docker/build_opensuseleap.sh b/docker/build_opensuseleap.sh index 548b6a6..3f7b765 100755 --- a/docker/build_opensuseleap.sh +++ b/docker/build_opensuseleap.sh @@ -1,6 +1,10 @@ #!/bin/sh # This script triggers all the steps necessary for building and packaging Ezra Bible App on Linux. +mkdir release/electron-installer-redhat +git clone https://github.com/electron-userland/electron-installer-redhat release/electron-installer-redhat +npm install --prefix release/electron-installer-redhat + npm run build-linux npm run rpm_opensuse_leap cp release/packages/*.rpm $GITHUB_WORKSPACE/ezra-bible-app_latest.rpm