privatebin : fix sha
This commit is contained in:
parent
1eb9052390
commit
80dfecd5b0
|
@ -22,7 +22,7 @@ if ! podman image exists ${privatebin_image}:${privatebin_version}; then
|
||||||
fi
|
fi
|
||||||
sed -i "s#mv cfg lib tpl vendor /srv#mv cfg lib tpl vendor /srv \&\& sed -i \\'/Content-Security-Policy\\\|X-XSS-Protection\\\|X-Frame-Options\\\|X-Content-Type-Options/d\\' /srv/lib/Controller.php#" ${buildfolder}/Dockerfile &&
|
sed -i "s#mv cfg lib tpl vendor /srv#mv cfg lib tpl vendor /srv \&\& sed -i \\'/Content-Security-Policy\\\|X-XSS-Protection\\\|X-Frame-Options\\\|X-Content-Type-Options/d\\' /srv/lib/Controller.php#" ${buildfolder}/Dockerfile &&
|
||||||
TMPDIR=${HOME} podman image build \
|
TMPDIR=${HOME} podman image build \
|
||||||
--label "org.opencontainers.image.revision=${tag_sha}" \
|
--label "org.opencontainers.image.revision=${sha}" \
|
||||||
-t "${privatebin_image}":"${privatebin_version}" \
|
-t "${privatebin_image}":"${privatebin_version}" \
|
||||||
${buildfolder} || retval=false
|
${buildfolder} || retval=false
|
||||||
podman image prune -a -f --filter dangling=true
|
podman image prune -a -f --filter dangling=true
|
||||||
|
|
Loading…
Reference in a new issue