ARO-RP/hack/ci-utils/extractaro.sh

9 строки
158 B
Bash
Executable File

#!/bin/bash
set -xe
DOCKERID=$(docker create $1)
docker export $DOCKERID > aro.tar
tar -xvf aro.tar --strip-components=3 usr/local/bin/
docker rm $DOCKERID