Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
secondary-dns-docker
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
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
shore
secondary-dns-docker
Commits
e407f40a
Commit
e407f40a
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Plain Diff
Merge branch 'limited-user'
parents
5b20a450
1b5b51b0
Branches
master
No related tags found
No related merge requests found
Pipeline
#869
passed
4 years ago
Stage: test
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-1
4 additions, 1 deletion
Dockerfile
with
4 additions
and
1 deletion
Dockerfile
+
4
−
1
View file @
e407f40a
...
...
@@ -4,11 +4,14 @@ FROM registry.hub.docker.com/cznic/knot:latest
RUN
apt-get update
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--no-install-recommends
\
gettext-base
\
libcap2-bin
\
&&
\
setcap
CAP_NET_BIND_SERVICE
=
+ep /sbin/knotd
&&
\
chmod
777 /storage /rundir
&&
\
rm
-rf
/tmp/
*
/var/tmp/
*
/var/lib/apt/lists/
*
/var/cache/apt/archives/
*
COPY
--chown=root:root entrypoint /usr/local/bin/
COPY
--chown=root:root knot.conf /etc/knot/
EXPOSE
53/tcp 53/udp
ENTRYPOINT
["entrypoint"]
CMD
["knotd", "-vc", "/etc/knot/knot.conf"]
USER
nobody
HEALTHCHECK
CMD knotc status
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