privatebin Fix sed header X-XSS-Protection
This commit is contained in:
parent
30bf96e1cf
commit
89b6d2e871
|
@ -13,7 +13,7 @@ if ! podman volume exists ${srvdata_volume} ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone -b ${version} --depth=1 https://github.com/PrivateBin/docker-nginx-fpm-alpine &&
|
git clone -b ${version} --depth=1 https://github.com/PrivateBin/docker-nginx-fpm-alpine &&
|
||||||
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#" docker-nginx-fpm-alpine/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#" docker-nginx-fpm-alpine/Dockerfile
|
||||||
podman build -t privatebin-nginx-fpm-alpine docker-nginx-fpm-alpine &&
|
podman build -t privatebin-nginx-fpm-alpine docker-nginx-fpm-alpine &&
|
||||||
rm -rf docker-nginx-fpm-alpine &&
|
rm -rf docker-nginx-fpm-alpine &&
|
||||||
podman volume create ${run_volume} &&
|
podman volume create ${run_volume} &&
|
||||||
|
|
Loading…
Reference in a new issue