Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
image_recipes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wouter Deconinck
image_recipes
Commits
b19ec6e2
Commit
b19ec6e2
authored
2 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
fix: no need to patch since already in 20.10.17
parent
652d459d
Branches
seccomp-profiles
No related tags found
1 merge request
!1
fix: add seccomp profiles
Pipeline
#36259
failed
2 years ago
Stage: phase1
Stage: phase2
Stage: phase3
Stage: phase4
Stage: phase5
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ubuntu_dind/Dockerfile
+1
-5
1 addition, 5 deletions
ubuntu_dind/Dockerfile
with
1 addition
and
5 deletions
ubuntu_dind/Dockerfile
+
1
−
5
View file @
b19ec6e2
...
@@ -45,14 +45,10 @@ RUN cd /tmp \
...
@@ -45,14 +45,10 @@ RUN cd /tmp \
RUN
export
VERSION
=
20.10.17
\
RUN
export
VERSION
=
20.10.17
\
&&
curl
-sSL
https://get.docker.com/ | sh
&&
curl
-sSL
https://get.docker.com/ | sh
# Get full moby repo and keep seccomp profiles
# Get full moby repo and keep seccomp profiles
RUN
git clone
-b
v20.10.17 https://github.com/moby/moby.git /tmp/moby
\
RUN
git clone
-b
v20.10.17
--depth
=
1
https://github.com/moby/moby.git /tmp/moby
\
&&
mkdir
-p
/etc/docker/profiles/
\
&&
mkdir
-p
/etc/docker/profiles/
\
&&
cp
-r
/tmp/moby/profiles/seccomp/ /etc/docker/profiles
\
&&
cp
-r
/tmp/moby/profiles/seccomp/ /etc/docker/profiles
\
&&
rm
-r
/tmp/moby
&&
rm
-r
/tmp/moby
# Patch for incorrect clone3 syscall return code
ADD
https://github.com/moby/moby/commit/9f6b562dd12ef7b1f9e2f8e6f2ab6477790a6594.patch /tmp/seccomp.patch
RUN
cd
/etc/docker
\
&&
patch
-p1
< /tmp/seccomp.patch
# Install the magic wrapper.
# Install the magic wrapper.
ADD
./wrapdocker /usr/local/bin/wrapdocker
ADD
./wrapdocker /usr/local/bin/wrapdocker
RUN
chmod
+x /usr/local/bin/wrapdocker
RUN
chmod
+x /usr/local/bin/wrapdocker
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment