From 45fd1b144035540d31a23333affe08604b8d10f3 Mon Sep 17 00:00:00 2001 From: Peri Diane Jones Date: Sat, 11 Aug 2018 16:01:35 -0400 Subject: Docker build improvements Fix missing dependencies and repositories, make the makefile exit with 1 if ISO file wasn't built. --- scripts/copy-image | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/copy-image') diff --git a/scripts/copy-image b/scripts/copy-image index 01af511d..75e15b37 100755 --- a/scripts/copy-image +++ b/scripts/copy-image @@ -4,4 +4,6 @@ BUILD_DIR=$(scripts/query-json build/build-config.json build_dir) BUILD_ARCH=$(scripts/query-json build/build-config.json architecture) VERSION=$(cat $BUILD_DIR/version) -ln -nsf $BUILD_DIR/live-image-$BUILD_ARCH.hybrid.iso $BUILD_DIR/vyos-$VERSION-$BUILD_ARCH.iso +ln -rnsf $BUILD_DIR/live-image-$BUILD_ARCH.hybrid.iso $BUILD_DIR/vyos-$VERSION-$BUILD_ARCH.iso + + -- cgit v1.2.3