8e1b0f817a
Split the gate into two specific scripts to support multiple distros Add ubuntu script. Co-Authored-By: Steven Dake <stdake@cisco.com> Change-Id: I23b9dee409b9e678422cd58525e1836541eb64da Partially-Implements: blueprint gate-source-builds
16 lines
535 B
Bash
Executable File
16 lines
535 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o xtrace
|
|
set -o errexit
|
|
|
|
# Setup Docker repo and add signing key
|
|
echo 'deb http://apt.dockerproject.org/repo ubuntu-trusty main' | sudo tee /etc/apt/sources.list.d/docker.list
|
|
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends docker-engine btrfs-progs
|
|
|
|
# We break the gate initially since it will not function until i can test against the ubuntu gate
|
|
exit 1
|
|
|
|
echo "Completed $0."
|