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:
co-authored by
Thomas Meckel
parent
a647316e06
commit
b5c8a3bc9f
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user