CentEAP / eap-build

Build scripts for EAP 6 or 7
122 stars 62 forks source link

Build docker images #169

Closed hasalex closed 2 years ago

hasalex commented 2 years ago

Build images based on Debian or CentOS Use different versions of JDK, at least 8 and 11.

First attempts in docker branch

hasalex commented 2 years ago

OpenJDK 8 package is not available anymore on recent Debian.

Workarounds :

Trying with azul/zulu-openjdk-centos and azul/zulu-openjdk-debian base images.

hasalex commented 2 years ago

Issues had been reported on FreeBSD. Having something to test the build on FreeBSD would be nice.

As we cannot build FreeBSD based images, we should test the build on a virtual machine.

Solution : use Vagrant

fcorneli commented 2 years ago

Gave it a quick spin on FreeBSD. Seems like the default xmlstarlet install cannot be found. Weird...

hasalex commented 2 years ago

@fcorneli Yes, the executable for xmlstarlet is xml. That's why I've added an alias :

    echo "alias xmlstarlet='xml'" >> /home/vagrant/.bashrc
fcorneli commented 2 years ago

yeah... I didn't notice your docker branch first...

hasalex commented 2 years ago

Images with alpine added