Applied changes to Dockerfile.patch and build.sh to support building version 1.17.0 of bitwarden_rs (#21)

Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
This commit is contained in:
Thomas Meckel
2020-10-11 17:07:37 +02:00
committed by GitHub
co-authored by Thomas Meckel
parent a647316e06
commit b5c8a3bc9f
2 changed files with 40 additions and 19 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ sed -i "s/Uncomment any of the following lines to change the defaults/Uncomment
mkdir -p "$DST"
# Prepare Dockerfile
patch -i "$DIR/Dockerfile.patch" "$SRC/docker/amd64/$DB_TYPE/Dockerfile" -o "$DIR/Dockerfile" || exit
patch -i "$DIR/Dockerfile.patch" "$SRC/docker/amd64/Dockerfile" --verbose -o "$DIR/Dockerfile" || exit
sed -E "s/(FROM[[:space:]]*rust:)[^[:space:]]+(.+)/\1${OS_VERSION_NAME}\2/g" -i "$DIR/Dockerfile"
sed -E "s/(FROM[[:space:]]*debian:)[^-]+(-.+)/\1${OS_VERSION_NAME}\2/g" -i "$DIR/Dockerfile"