Skip to content

Commit

Permalink
Add docker build for OpenSuse Leap 15.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-klein committed Nov 15, 2024
1 parent 06895c4 commit ba86765
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

build-opensuseleap-image:
name: Build Docker Image for building Ezra Bible App on OpenSuse Leap
build-opensuseleap15.5-image:
name: Build Docker Image for building Ezra Bible App on OpenSuse Leap 15.5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -252,10 +252,27 @@ jobs:
- uses: mr-smithers-excellent/docker-build-push@v3
name: Build & push Docker image
with:
dockerfile: docker/OpenSuseLeap_Dockerfile
dockerfile: docker/OpenSuseLeap15.5_Dockerfile
image: toklein/ezra-opensuse-leap-15.5
tag: latest
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

build-opensuseleap15.6-image:
name: Build Docker Image for building Ezra Bible App on OpenSuse Leap 15.6
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
name: Check out

- uses: mr-smithers-excellent/docker-build-push@v3
name: Build & push Docker image
with:
dockerfile: docker/OpenSuseLeap15.5_Dockerfile
image: toklein/ezra-opensuse-leap-15.6
tag: latest
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

File renamed without changes.
23 changes: 23 additions & 0 deletions docker/OpenSuseLeap15.6_Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Dockerfile for OpenSuse Build Enviroment for Ezra Bible App

FROM opensuse/leap:15.6

RUN zypper addrepo https://download.opensuse.org/repositories/home:Simmphonie:surface:stableBackport/15.6/home:Simmphonie:surface:stableBackport.repo
RUN zypper addrepo https://download.opensuse.org/repositories/home:MaxxedSUSE:Python-15.6/15.6/home:MaxxedSUSE:Python-15.6.repo

RUN zypper -n --no-gpg-checks refresh -f

RUN zypper install -y sudo gcc-c++ make vim git subversion cmake rpm-build unzip curl wget
RUN zypper install -y libcurl-devel libicu-devel sqlite3-devel zlib-devel
RUN zypper install -y nodejs npm
RUN zypper install -y python310
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 electron-installer-redhat
RUN npm install -g pug-cli

COPY docker/build_opensuseleap.sh /build.sh

ENTRYPOINT ["/build.sh"]

0 comments on commit ba86765

Please sign in to comment.