+++ /dev/null
-#!/bin/sh
-
-./argeo2-java
-./argeo2-tp
-./argeo2-node
-./argeo2-builder
+++ /dev/null
-#!/bin/sh
-
-source "$(dirname "$0")/buildah-metadata"
-container=$(buildah from argeo/argeo2-java:openjdk-v$VERSION_JAVA-$ARCH)
-
-source "$(dirname "$0")/buildah-common"
-
-buildah config --label release="1" $container
-buildah config --label version="$VERSION_MAVEN" $container
-
-# Metadata
-buildah config --label name="argeo2-builder" $container
-buildah config --label description="Argeo 2 Builder" $container
-
-# Utilities
-#buildah run $container -- microdnf -y install git
-# Java 11
-#buildah run $container -- microdnf -y install java-11-openjdk-devel
-# Maven
-#buildah run $container -- microdnf -y install maven
-#buildah copy $container maven.conf /etc/java/maven.conf
-
-buildah run $container -- microdnf -y install tar gzip
-buildah copy $container https://archive.apache.org/dist/maven/maven-3/$VERSION_MAVEN/binaries/apache-maven-$VERSION_MAVEN-bin.tar.gz /opt
-buildah run $container -- tar -C /opt -xzf /opt/apache-maven-$VERSION_MAVEN-bin.tar.gz
-buildah run $container -- rm -f /opt/apache-maven-$VERSION_MAVEN-bin.tar.gz
-buildah run $container -- microdnf -y remove tar gzip
-
-buildah run $container -- ln -s /opt/apache-maven-$VERSION_MAVEN/bin/mvn /usr/local/bin/mvn
-# Maven script requires which
-buildah run $container -- microdnf -y install which
-# Clean microdnf
-buildah run $container -- microdnf clean all
-
-buildah run $container -- mkdir -p /srv/javafactory/
-
-# Working dir
-buildah run $container -- mkdir -p /root/build/
-buildah config --workingdir /root/build/ $container
-
-# Perform a build of argeo-commons
-buildah copy $container ../.. /root/build
-buildah run $container -- mvn clean install
-#buildah run $container -- mvn dependency:go-offline
-
-# Clean up build directories
-buildah run $container -- rm -rf /root/.m2/repository/org/argeo/commons
-buildah run $container -- rm -rf /root/build
-buildah run $container -- mkdir -p /root/build/
-
-# Configuration
-buildah config --entrypoint '["mvn","clean","install"]' $container
-
-buildah commit --rm --format docker $container argeo/argeo2-builder:maven-v$VERSION_MAVEN-$ARCH
-buildah tag argeo/argeo2-builder:maven-v$VERSION_MAVEN-$ARCH argeo/argeo2-builder:$ARCH
-
-buildah push argeo/argeo2-builder:maven-v$VERSION_MAVEN-$ARCH docker://argeo/argeo2-builder:maven-v$VERSION_MAVEN-$ARCH
-buildah push argeo/argeo2-builder:$ARCH docker://argeo/argeo2-builder:$ARCH
+++ /dev/null
-#!/bin/sh
-
-source "$(dirname "$0")/buildah-metadata"
-buildah pull ubi8/ubi-minimal
-container=$(buildah from ubi8/ubi-minimal)
-
-source "$(dirname "$0")/buildah-common"
-
-buildah config --label release="1" $container
-buildah config --label version="$VERSION_JAVA" $container
-
-# Metadata
-buildah config --label name="argeo2-java" $container
-buildah config --label description="OpenJDK 11 headless on Red Hat UBI 8" $container
-buildah config --label url=https://hub.docker.com/repository/docker/argeo/argeo2-java $container
-
-# Java 11
-buildah run $container -- microdnf install java-11-openjdk-headless
-buildah run $container -- microdnf clean all
-
-# Configuration
-buildah config --entrypoint '["java"]' $container
-
-buildah commit --rm --format docker $container argeo/argeo2-java:openjdk-v$VERSION_JAVA-$ARCH
-buildah tag argeo/argeo2-java:openjdk-v$VERSION_JAVA-$ARCH argeo/argeo2-java:$ARCH
-
-buildah push argeo/argeo2-java:openjdk-v$VERSION_JAVA-$ARCH docker://argeo/argeo2-java:openjdk-v$VERSION_JAVA-$ARCH
-buildah push argeo/argeo2-java:$ARCH docker://argeo/argeo2-java:$ARCH
+++ /dev/null
-#!/bin/sh
-
-# Multi-architecture manifests
-buildah rmi argeo/argeo2-java:latest
-buildah manifest create argeo/argeo2-java:latest docker://argeo/argeo2-java:x86_64 docker://argeo/argeo2-java:aarch64
-buildah manifest push argeo/argeo2-java:latest docker://argeo/argeo2-java:latest
-
-buildah rmi argeo/argeo2-tp:latest
-buildah manifest create argeo/argeo2-tp:latest docker://argeo/argeo2-tp:x86_64 docker://argeo/argeo2-tp:aarch64
-buildah manifest push argeo/argeo2-tp:latest docker://argeo/argeo2-tp:latest
-
-buildah rmi argeo/argeo2-node:latest
-buildah manifest create argeo/argeo2-node:latest docker://argeo/argeo2-node:x86_64 docker://argeo/argeo2-node:aarch64
-buildah manifest push argeo/argeo2-node:latest docker://argeo/argeo2-node:latest
-
-buildah rmi argeo/argeo2-builder:latest
-buildah manifest create argeo/argeo2-builder:latest docker://argeo/argeo2-builder:x86_64 docker://argeo/argeo2-builder:aarch64
-buildah manifest push argeo/argeo2-builder:latest docker://argeo/argeo2-builder:latest
-
+++ /dev/null
-#!/bin/sh
-
-source "$(dirname "$0")/buildah-metadata"
-container=$(buildah from argeo/argeo2-tp:$VERSION_ARGEO_TP-$ARCH)
-
-# Override version
-#buildah copy $container argeo2-rpmfactory.repo /etc/yum.repos.d/
-#buildah copy $container /srv/rpmfactory/argeo-osgi-2/el7/ /srv/rpmfactory/argeo-osgi-2/el7/
-
-source "$(dirname "$0")/buildah-common"
-
-buildah config --label release="1" $container
-buildah config --label version="$VERSION_ARGEO_COMMONS" $container
-
-# Metadata
-buildah config --label name="argeo2-node" $container
-buildah config --label description="Argeo 2 Node" $container
-buildah config --label url=https://hub.docker.com/repository/docker/argeo/argeo2-node $container
-
-# Argeo Node
-buildah run $container -- microdnf install osgi-boot argeo-cms-e4-rap argeo-node
-buildah run $container -- microdnf clean all
-
-#buildah run $container -- rm -rf /srv/rpmfactory/argeo-osgi-2
-
-# Configuration
-buildah config --entrypoint '["/usr/sbin/argeoctl","start"]' $container
-buildah config --port 8080 $container
-
-buildah commit --rm --format docker $container argeo/argeo2-node:$VERSION_ARGEO_COMMONS-$ARCH
-buildah tag argeo/argeo2-node:$VERSION_ARGEO_COMMONS-$ARCH argeo/argeo2-node:$ARCH
-
-buildah push argeo/argeo2-node:$VERSION_ARGEO_COMMONS-$ARCH docker://argeo/argeo2-node:$VERSION_ARGEO_COMMONS-$ARCH
-buildah push argeo/argeo2-node:$ARCH docker://argeo/argeo2-node:$ARCH
+++ /dev/null
-#!/bin/sh
-
-source "$(dirname "$0")/buildah-metadata"
-container=$(buildah from argeo/argeo2-tp:$VERSION_ARGEO_TP-$ARCH)
-
-# Override version
-buildah copy $container argeo2-snapshots.repo /etc/yum.repos.d/
-
-source "$(dirname "$0")/buildah-common"
-
-#buildah config --label release="1" $container
-#buildah config --label version="$VERSION_ARGEO_COMMONS" $container
-
-# Metadata
-buildah config --label name="argeo2-node" $container
-buildah config --label description="Argeo 2 Node" $container
-buildah config --label url=https://hub.docker.com/repository/docker/argeo/argeo2-node $container
-
-# Argeo Node
-buildah run $container -- microdnf install osgi-boot argeo-cms-e4-rap argeo-node
-buildah run $container -- microdnf clean all
-
-# Override settings
-buildah copy $container dev-settings.sh /etc/argeo/settings.sh
-
-# Configuration
-buildah config --entrypoint '["/usr/sbin/argeoctl","start"]' $container
-buildah config --port 8080 $container
-
-buildah commit --rm --format docker $container argeo/argeo2-node:snapshots-$ARCH
-
-buildah push argeo/argeo2-node:snapshots-$ARCH docker://argeo/argeo2-node:snapshots-$ARCH
+++ /dev/null
-[argeo2-rpmfactory]
-baseurl=file:///srv/rpmfactory/argeo-osgi-2/el7/
-gpgcheck=0
-enabled=1
+++ /dev/null
-[argeo-osgi-staging]
-name=Argeo 2 OSGi (staging)
-baseurl=http://snapshots.argeo.org/rpm/testing/argeo-osgi-2/el7/
-gpgcheck=no
+++ /dev/null
-#!/bin/sh
-
-source "$(dirname "$0")/buildah-metadata"
-container=$(buildah from argeo/argeo2-java:$ARCH)
-
-source "$(dirname "$0")/buildah-common"
-
-buildah config --label release="1" $container
-buildah config --label version="$VERSION_ARGEO_TP" $container
-
-# Metadata
-buildah config --label name="argeo2-tp" $container
-buildah config --label description="Argeo 2 OSGi Third Parties" $container
-buildah config --label url=https://hub.docker.com/repository/docker/argeo/argeo2-tp $container
-
-# Argeo
-buildah run $container -- rpm -Uvh http://repo.argeo.org/rpm/argeo2-release-latest-7.noarch.rpm
-# Argeo Third Parties
-buildah run $container -- microdnf install argeo-cms-e4-rap-tp osgi-boot-equinox
-buildah run $container -- microdnf clean all
-
-# Configuration
-buildah config --entrypoint '["java","-Dosgi.bundles=org.argeo.osgi.boot.jar@start","-Dosgi.configuration=/var/lib/argeo/state","-Dosgi.data=/var/lib/argeo/data","-jar","/usr/share/osgi/boot/org.eclipse.osgi.jar","-console","2323"]' $container
-buildah config --workingdir /var/lib/argeo $container
-buildah config --volume /var/lib/argeo $container
-
-buildah commit --rm --format docker $container argeo/argeo2-tp:$VERSION_ARGEO_TP-$ARCH
-buildah tag argeo/argeo2-tp:$VERSION_ARGEO_TP-$ARCH argeo/argeo2-tp:$ARCH
-
-buildah push argeo/argeo2-tp:$VERSION_ARGEO_TP-$ARCH docker://argeo/argeo2-tp:$VERSION_ARGEO_TP-$ARCH
-buildah push argeo/argeo2-tp:$ARCH docker://argeo/argeo2-tp:$ARCH
+++ /dev/null
-#!/bin/sh
-
-# Metadata
-buildah config --label maintainer="Mathieu Baudier, mbaudier at argeo.org" $container
-buildah config --created-by "Mathieu Baudier, mbaudier at argeo.org" $container
-buildah config --author "Argeo GmbH, http://www.argeo.org, contact at argeo.org" $container
-buildah config --label vendor="Argeo GmbH" $container
-
-# Remove Red Hat labels
-buildah config --label authoritative-source-url= $container
-buildah config --label com.redhat.build-host= $container
-buildah config --label com.redhat.component= $container
-buildah config --label com.redhat.license_terms= $container
-buildah config --label io.k8s.description= $container
-buildah config --label io.k8s.display-name= $container
-buildah config --label io.openshift.expose-services= $container
-buildah config --label io.openshift.tags= $container
-buildah config --label vcs-ref= $container
-buildah config --label vcs-type= $container
-buildah config --label summary= $container
-
+++ /dev/null
-#!/bin/sh
-
-echo Login to Red Hat registry registry.redhat.io
-podman login registry.redhat.io
-
-echo Login to Docker Hub registry docker.io
-podman login docker.io
-
+++ /dev/null
-VERSION_ARGEO_COMMONS=2.1
-VERSION_ARGEO_TP=2.1
-
-VERSION_MAVEN=3.5
-VERSION_JAVA=11
-
-ARCH=`arch`
-echo Building for architecture $ARCH
+++ /dev/null
-export LANG=en_US.utf8
-JAVA_OPTS="-ea -agentlib:jdwp=transport=dt_socket,server=y,address=*:8000,suspend=n -showversion -Xmx512m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7084 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
+++ /dev/null
-#VERSION_ARGEO_COMMONS=2.1.84
-#VERSION_ARGEO_TP=${version.argeo-tp}
-
-#VERSION_MAVEN=3.5.4
-#VERSION_JAVA=11.0.5
-
-#ARCH=`arch`
-#echo Building for architecture $ARCH
+++ /dev/null
-JAVA_HOME=/usr/lib/jvm/java-11-openjdk
+++ /dev/null
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.argeo.commons</groupId>
- <version>2.3-SNAPSHOT</version>
- <artifactId>dist</artifactId>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>containers</artifactId>
- <packaging>pom</packaging>
- <name>Argeo OCI Containers</name>
-<!-- <build> -->
-<!-- <plugins> -->
-<!-- <plugin> -->
-<!-- <artifactId>maven-resources-plugin</artifactId> -->
-<!-- <executions> -->
-<!-- <execution> -->
-<!-- <id>copy-resources</id> -->
-<!-- <phase>validate</phase> -->
-<!-- <goals> -->
-<!-- <goal>copy-resources</goal> -->
-<!-- </goals> -->
-<!-- <configuration> -->
-<!-- <outputDirectory>${basedir}</outputDirectory> -->
-<!-- <resources> -->
-<!-- <resource> -->
-<!-- <directory>filtered</directory> -->
-<!-- <filtering>true</filtering> -->
-<!-- </resource> -->
-<!-- </resources> -->
-<!-- </configuration> -->
-<!-- </execution> -->
-<!-- </executions> -->
-<!-- </plugin> -->
-<!-- </plugins> -->
-<!-- </build> -->
-</project>
<module>osgi-boot</module>
<!-- <module>argeo-cli</module> -->
<module>argeo-node</module>
- <module>containers</module>
</modules>
<build>
<plugins>