summaryrefslogtreecommitdiff
path: root/Dockerfile.CentOS
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.CentOS')
-rw-r--r--Dockerfile.CentOS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile.CentOS b/Dockerfile.CentOS
index ed79042e7..f17468b61 100644
--- a/Dockerfile.CentOS
+++ b/Dockerfile.CentOS
@@ -80,3 +80,7 @@ COPY test/policy.json /etc/containers/policy.json
COPY test/redhat_sigstore.yaml /etc/containers/registries.d/registry.access.redhat.com.yaml
WORKDIR /go/src/github.com/projectatomic/libpod
+
+# Wrap all commands in the "docker-in-docker" script to allow nested containers,
+# and allow testing of apparmor.
+ENTRYPOINT ["./hack/dind"]