vaultwarden : FQIN :-)
This commit is contained in:
parent
c3c61e026c
commit
01e771d6c5
|
@ -12,9 +12,6 @@ buildfolder=/tmp/vaultwarden-$$
|
||||||
if ! podman image exists ${vaultwarden_image}:${vaultwarden_version}; then
|
if ! podman image exists ${vaultwarden_image}:${vaultwarden_version}; then
|
||||||
mkdir ${buildfolder} &&
|
mkdir ${buildfolder} &&
|
||||||
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
|
||||||
sed_in_place "^FROM vaultwarden/web-vault" "FROM docker.io/vaultwarden/web-vault" ${buildfolder}/docker/amd64/Dockerfile.alpine &&
|
|
||||||
sed_in_place "^FROM blackdex/rust-musl" "FROM docker.io/blackdex/rust-musl" ${buildfolder}/docker/amd64/Dockerfile.alpine &&
|
|
||||||
sed_in_place "^FROM alpine" "FROM docker.io/library/alpine" ${buildfolder}/docker/amd64/Dockerfile.alpine &&
|
|
||||||
TMPDIR=${HOME} podman image build -t ${vaultwarden_image}:${vaultwarden_version} -f ${buildfolder}/docker/amd64/Dockerfile.alpine ${buildfolder} || retval=false
|
TMPDIR=${HOME} podman image build -t ${vaultwarden_image}:${vaultwarden_version} -f ${buildfolder}/docker/amd64/Dockerfile.alpine ${buildfolder} || retval=false
|
||||||
fi
|
fi
|
||||||
rm -rf ${buildfolder}
|
rm -rf ${buildfolder}
|
||||||
|
|
Loading…
Reference in a new issue