Skip to content

Commit

Permalink
Update OpenSuseLeap containers
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-klein committed Nov 16, 2024
1 parent 6da1b43 commit 29dd4d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion docker/OpenSuseLeap15.5_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions docker/OpenSuseLeap15.6_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
#ENTRYPOINT ["/build.sh"]
4 changes: 4 additions & 0 deletions docker/build_opensuseleap.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 29dd4d4

Please sign in to comment.