Increment synapse policy version; tweak Containerfile to remove old policy
This commit is contained in:
@@ -18,6 +18,7 @@ COPY --from=builder /gocryptfs/gocryptfs /usr/bin/gocryptfs
|
|||||||
COPY synapse.te /tmp/synapse.te
|
COPY synapse.te /tmp/synapse.te
|
||||||
RUN checkmodule -M -m -o /tmp/synapse.mod /tmp/synapse.te \
|
RUN checkmodule -M -m -o /tmp/synapse.mod /tmp/synapse.te \
|
||||||
&& semodule_package -o /tmp/synapse.pp -m /tmp/synapse.mod \
|
&& semodule_package -o /tmp/synapse.pp -m /tmp/synapse.mod \
|
||||||
|
&& semodule -r synapse || true \
|
||||||
&& semodule -i /tmp/synapse.pp \
|
&& semodule -i /tmp/synapse.pp \
|
||||||
&& rm -f /tmp/synapse.{te,mod,pp}
|
&& rm -f /tmp/synapse.{te,mod,pp}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
module synapse 1.0;
|
module synapse 1.1;
|
||||||
|
|
||||||
require {
|
require {
|
||||||
type httpd_t;
|
type httpd_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user