source: devel/contrib/mkctn @ 2356

Last change on this file since 2356 was 2356, checked in by bruno, 6 months ago

Fix container build scripts

  • Property svn:executable set to *
File size: 434 bytes
Line 
1#!/bin/bash
2#
3DISTRO=$1
4DISTROVER=$2
5ORIGREPO=$3
6
7M=$DISTRO-$DISTROVER-x86_64
8
9if [ _"$ORIGREPO" != _"" ]; then
10    DISTRO=$ORIGREPO
11fi
12
13echo "Working on ${DISTRO}:$DISTROVER ..."
14echo "-----------------------------------"
15docker pull ${DISTRO}:$DISTROVER
16pb -p pb -T docker -m $M newve -i ${DISTRO}:$DISTROVER
17pb -p pb -T docker -m $M sbx2setupve
18pb -p pb -T docker -m $M prepve
19pb -p pb -T docker -m $M build2ve
20docker image prune -f
21
Note: See TracBrowser for help on using the repository browser.