AArch64 (arm64) support for image building, mock
[ta/build-tools.git] / create_rpmdata_in_docker.sh
index 84d2472..82c7bcc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Copyright 2019 Nokia
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,7 +18,7 @@ set -ex
 scriptdir="$(dirname $(readlink -f ${BASH_SOURCE[0]}))"
 source $scriptdir/lib.sh
 
-docker_image=buildtools:2.0
+docker_image=buildtools
 _load_docker_image $docker_image
 
 function _resolve_abs_path() {
@@ -39,7 +39,7 @@ output_mp=/output
 docker run \
   --rm \
   -e PYTHONPATH=/work \
-  -e BUILD_URL -e JENKINS_USERNAME -e JENKINS_TOKEN -e WORKSPACE \
+  -e BUILD_URL -e JENKINS_USERNAME -e JENKINS_TOKEN -e WORK \
   -v $scriptdir:/work \
   -v $input_dir:$input_mp \
   -v $output_dir:$output_mp \