forked from dogtagpki/jss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# This is a combination of 4 commits.
# This is the 1st commit message: Allow using jdk11 devel on openSUSE Leap 15.1 - Not intended for pull request # This is the commit message #2: Manually merge from master branch # This is the commit message #3: Continue the manual merge from master # This is the commit message #4: Continue the merge from upstream, delete obsoleted files
- Loading branch information
Showing
3 changed files
with
35 additions
and
4 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
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
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,27 @@ | ||
FROM opensuse:tumbleweed | ||
|
||
# Install generic dependencies to build jss | ||
RUN true \ | ||
&& zypper refresh \ | ||
&& zypper update -y \ | ||
&& zypper install -y gcc make java-11-openjdk-devel mozilla-nss-tools mozilla-nss-devel mozilla-nspr-devel slf4j apache-commons-codec apache-commons-lang gcc-c++ ws-jaxme which \ | ||
&& mkdir -p /home/sandbox \ | ||
&& zypper clean --all \ | ||
&& rm -rf /usr/share/doc /usr/share/doc-base \ | ||
/usr/share/man /usr/share/locale /usr/share/zoneinfo \ | ||
&& true | ||
|
||
# Link in the current version of jss from the git repository | ||
WORKDIR /home/sandbox | ||
COPY . /home/sandbox/jss | ||
|
||
# Perform the actual build | ||
WORKDIR /home/sandbox/jss | ||
CMD true \ | ||
&& export JAVA_HOME=/usr/lib/jvm/jre-11-openjdk \ | ||
&& rm -rf build \ | ||
&& mkdir build \ | ||
&& cd build \ | ||
&& cmake .. \ | ||
&& make all test \ | ||
&& true |