vaultwarden : 1.30.3 fix?
This commit is contained in:
parent
835d868083
commit
8b20c4e45c
|
@ -11,12 +11,8 @@ buildfolder=/tmp/vaultwarden-$$
|
||||||
|
|
||||||
if ! podman image exists ${service_image}:${service_version}; then
|
if ! podman image exists ${service_image}:${service_version}; then
|
||||||
mkdir ${buildfolder} &&
|
mkdir ${buildfolder} &&
|
||||||
if git clone --depth=1 --branch=${service_version} https://github.com/dani-garcia/vaultwarden.git ${buildfolder}/ ; then
|
if git clone --depth=1 --branch=${service_version%%-*} https://github.com/dani-garcia/vaultwarden.git ${buildfolder}/ ; then
|
||||||
TMPDIR=${HOME} podman image build \
|
TMPDIR=${HOME} DB='postgresql,enable_mimalloc' CONTAINER_REGISTRIES='git.garbaye.fr/garbaye/vaultwarden' BASE_TAGS=${service_version%%-*} ${buildfolder}/docker/podman-bake.sh || retval=false
|
||||||
-t ${service_image}:${service_version} \
|
|
||||||
--build-arg DB=postgresql,enable_mimalloc \
|
|
||||||
-f ${buildfolder}/docker/Dockerfile.debian \
|
|
||||||
${buildfolder} || retval=false
|
|
||||||
podman image prune -a -f --filter dangling=true
|
podman image prune -a -f --filter dangling=true
|
||||||
podman image prune -a -f --filter intermediate=true
|
podman image prune -a -f --filter intermediate=true
|
||||||
podman image rm -f $(podman image list -a -q -- vaultwarden/web-vault)
|
podman image rm -f $(podman image list -a -q -- vaultwarden/web-vault)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
## vars
|
## vars
|
||||||
service_image="git.garbaye.fr/garbaye/vaultwarden"
|
service_image="git.garbaye.fr/garbaye/vaultwarden"
|
||||||
service_version='1.30.3'
|
service_version='1.30.3-amd64'
|
||||||
database_image="docker.io/library/postgres"
|
database_image="docker.io/library/postgres"
|
||||||
database_version='14-alpine'
|
database_version='14-alpine'
|
||||||
database_path="/var/lib/postgresql/data"
|
database_path="/var/lib/postgresql/data"
|
||||||
|
|
Loading…
Reference in a new issue