mirror of
https://github.com/bitwarden/server.git
synced 2024-11-29 13:25:17 +01:00
7bb26a7203
* adding the new k8s-proxy container to the server build * updating the file path fore the new dockerfile
17 lines
347 B
Bash
Executable File
17 lines
347 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
echo -e "\n## Building Nginx"
|
|
|
|
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/."
|