-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docker build for OpenSuse Leap 15.6
- Loading branch information
1 parent
06895c4
commit ba86765
Showing
3 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |