File: start-ubuntu.sh

package info (click to toggle)
node-yarnpkg 1.13.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,036 kB
  • sloc: sh: 323; makefile: 19
file content (11 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Starts an Ubuntu Docker container and runs the Yarn end-to-end test on it
set -ex

if [ -z "$1" ]; then
  echo 'Ubuntu distribution was not specified'
  exit 1
fi;

data_path=$(dirname $(readlink -f "$0"))
docker run --rm -v $data_path:/data -w=/data -e APT_PROXY=$APT_PROXY -e DEBIAN_FRONTEND=noninteractive $1 /data/run-ubuntu.sh