blob: 0fb2f503b271be6947ff8906070ee4de2ac20caf [file] [log] [blame]
Adam Stankiewicz30c58d52020-07-22 15:34:40 +02001#!/bin/sh
2
3set -e
4
5if ! command -v docker > /dev/null; then
6 echo "Please install docker from https://www.docker.com/products/docker-desktop"
7 exit 1
8fi
9
10docker inspect bmcweb-base > /dev/null ||
11 docker build --no-cache --force-rm -t bmcweb-base -f Dockerfile.base .
12
13docker build -t bmcweb .
14
15mkdir -p build
16
17docker run -v $PWD:/app -it bmcweb cp -r /build/bmcweb /build/webtest /app/build