1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00
bitwarden-server/util/Nginx/build.sh

17 lines
347 B
Bash
Raw Normal View History

2017-08-07 17:24:16 +02:00
#!/usr/bin/env bash
set -e
2017-08-19 21:27:57 +02:00
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2017-08-07 17:24:16 +02:00
2017-08-24 04:39:31 +02:00
echo -e "\n## Building Nginx"
2017-08-07 17:24:16 +02:00
echo -e "\nBuilding docker image"
docker --version
docker build -t bitwarden/nginx "$DIR/."
echo -e "\n## Building k8s-proxy"
echo -e "\nBuilding docker image"
docker build -f $DIR/Dockerfile-k8s -t bitwarden/k8s-proxy "$DIR/."