Dev settings for snapshots container.
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 3 Feb 2020 11:04:56 +0000 (12:04 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 3 Feb 2020 11:04:56 +0000 (12:04 +0100)
dist/containers/argeo2-node-snapshots

index 0758f34b359399bd95384432fd07e7ca39b21fd3..54422b4a5459b45da66fe639cd511570a66170a8 100755 (executable)
@@ -6,9 +6,6 @@ container=$(buildah from argeo/argeo2-tp:$VERSION_ARGEO_TP-$ARCH)
 # Override version
 buildah copy $container argeo2-snapshots.repo /etc/yum.repos.d/
 
-# Override settings
-buildah copy $container dev-settings.sh /etc/argeo/settings.sh
-
 source "$(dirname "$0")/buildah-common"
 
 #buildah config --label release="1" $container
@@ -23,6 +20,9 @@ buildah config --label url=https://hub.docker.com/repository/docker/argeo/argeo2
 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