Move container build scripts
[lgpl/argeo-commons.git] / dist / containers / argeo2-node-snapshots
diff --git a/dist/containers/argeo2-node-snapshots b/dist/containers/argeo2-node-snapshots
deleted file mode 100755 (executable)
index 54422b4..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/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