Do not duplicate Dockerfile

The packaging Dockerfile will be generated by patching the one
in bitwarden_rs sources.
This commit is contained in:
Greizgh
2019-03-27 10:22:05 +01:00
parent a6b8e89a02
commit d89e259a90
5 changed files with 89 additions and 85 deletions
+3
View File
@@ -24,6 +24,9 @@ sed -i "s#\# WEB_VAULT_FOLDER=web-vault/#WEB_VAULT_FOLDER=/usr/share/bitwarden_r
mkdir -p "$DST"
# Prepare Dockerfile
patch -i "$DIR/Dockerfile.patch" "$SRC/Dockerfile" -o "$DIR/Dockerfile"
docker build -t bitwarden-deb "$DIR"
CID=$(docker run -d bitwarden-deb)