opennms-forge / docker-build-env Goto Github PK
View Code? Open in Web Editor NEW๐ณ Docker build environment as executable to build and assemble from source.
License: MIT License
๐ณ Docker build environment as executable to build and assemble from source.
License: MIT License
When compiled from a branch the version number is shown from the version branch. It is hard to figure from which branch the version is compiled. During the build a opennms.git.describe file is created and the content can be used to show the version in the OpenNMS about page to identify the source version where the binaries are compiled from.
When running the container the following error message occurs:
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for java-1.8.0-openjdk-headless which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of java-1.8.0-openjdk-headless of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude java-1.8.0-openjdk-headless.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of java-1.8.0-openjdk-headless installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of java-1.8.0-openjdk-headless installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: 1:java-1.8.0-openjdk-headless-1.8.0.131-3.b12.el7_3.i686 != 1:java-1.8.0-openjdk-headless-1.8.0.141-1.b16.el7_3.x86_64
The environment tries to install the OpenJDK in version 1.8.0.131 but 1.8.0.141 is available. The installation fails with the error message above.
Use the circleci environment to build specific branches and push images to the docker hub registry.
With the current setup, all Maven artifacts will be downloaded from maven.opennms.org. This slows down development. Allow configuring a local maven repository proxies like JFrog to use faster local or close by network resources.
The entry script has a delay of 5 seconds. Test the reachability of the database port instead.
Is it required to clean up these directories?
https://github.com/opennms-forge/docker-build-env/blob/master/Dockerfile#L246
The RPM and DEB packages create an etc-pristine dir in ${OPENNMS_HOME}/share which does not exist in the assembled tar.gz version. The etc-pristine needs to be created after a build.
When you try to build the image on Docker for Mac, the default size is 20 GB and with a few other images you can quickly run out of disk space and will get the No space left on device
message, even when you have still plenty of space left on your Mac. The image needs to be resized. Add a hint in the README for this issue.
MAINTAINER is deprecated use label instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.