vaultwarden : image build add mimalloc

This commit is contained in:
Gitouche 2023-08-10 22:37:44 +02:00
parent 778ffdeda9
commit b945ce7866

View file

@ -14,7 +14,7 @@ if ! podman image exists ${vaultwarden_image}:${vaultwarden_version}; then
if git clone --depth=1 --branch=${vaultwarden_version} https://github.com/dani-garcia/vaultwarden.git ${buildfolder}/ ; then if git clone --depth=1 --branch=${vaultwarden_version} https://github.com/dani-garcia/vaultwarden.git ${buildfolder}/ ; then
TMPDIR=${HOME} podman image build \ TMPDIR=${HOME} podman image build \
-t ${vaultwarden_image}:${vaultwarden_version} \ -t ${vaultwarden_image}:${vaultwarden_version} \
--build-arg DB=postgresql \ --build-arg DB=postgresql,enable_mimalloc \
-f ${buildfolder}/docker/amd64/Dockerfile.alpine \ -f ${buildfolder}/docker/amd64/Dockerfile.alpine \
${buildfolder} || retval=false ${buildfolder} || retval=false
fi fi