blob: 3f57b77d39b15ae58c8fde15c456ecd0ed75ebaf [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
Ed Tanous2deeab52020-10-06 17:06:26 -070017docker run -v "$PWD":/app -it bmcweb cp -r /build/bmcweb /build/webtest /app/build