Skip to content
Snippets Groups Projects

fix: add seccomp profiles

Open Wouter Deconinck requested to merge seccomp-profiles into master
+ 5
0
@@ -44,6 +44,11 @@ RUN cd /tmp \
# Install Docker from Docker Inc. repositories.
RUN export VERSION=20.10.17 \
&& curl -sSL https://get.docker.com/ | sh
# Get full moby repo and keep seccomp profiles
RUN git clone -b v20.10.17 --depth=1 https://github.com/moby/moby.git /tmp/moby \
&& mkdir -p /etc/docker/profiles/ \
&& cp -r /tmp/moby/profiles/seccomp/ /etc/docker/profiles \
&& rm -r /tmp/moby
# Install the magic wrapper.
ADD ./wrapdocker /usr/local/bin/wrapdocker
RUN chmod +x /usr/local/bin/wrapdocker
Loading