X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=dist%2Fcontainers%2Fargeo2-tp;h=a033ab00ea465b8c4bb283719d93e8d6230df93f;hb=4ae93488abaa2617f7a0eb46d05e37914e80068d;hp=bf3994993fda5c883e7c00e819732ae8fc874baa;hpb=f0c115ab3b4d31ce6af04bba072229602196259f;p=lgpl%2Fargeo-commons.git diff --git a/dist/containers/argeo2-tp b/dist/containers/argeo2-tp index bf3994993..a033ab00e 100755 --- a/dist/containers/argeo2-tp +++ b/dist/containers/argeo2-tp @@ -1,7 +1,7 @@ #!/bin/sh source "$(dirname "$0")/buildah-metadata" -container=$(buildah from argeo2-java:openjdk-v$VERSION_JAVA) +container=$(buildah from argeo/argeo2-java:$ARCH) source "$(dirname "$0")/buildah-common" @@ -17,12 +17,15 @@ buildah config --label url=https://hub.docker.com/repository/docker/argeo/argeo2 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 argeo2-tp:v$VERSION_ARGEO_TP -buildah push argeo2-tp:v$VERSION_ARGEO_TP docker://argeo/argeo2-tp:v$VERSION_ARGEO_TP -buildah push argeo2-tp:v$VERSION_ARGEO_TP docker://argeo/argeo2-tp:latest +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