Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
resolver
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nimrod
resolver
Commits
c09e9be1
Commit
c09e9be1
authored
7 years ago
by
nimrod
Browse files
Options
Downloads
Plain Diff
Merge branch 'knot'
parents
c43e5b1b
04129e0a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.dockerignore
+3
-0
3 additions, 0 deletions
.dockerignore
Dockerfile
+13
-9
13 additions, 9 deletions
Dockerfile
README.md
+0
-1
0 additions, 1 deletion
README.md
entrypoint
+1
-1
1 addition, 1 deletion
entrypoint
with
17 additions
and
11 deletions
.dockerignore
0 → 100644
+
3
−
0
View file @
c09e9be1
.git/
README*
*.swp
This diff is collapsed.
Click to expand it.
Dockerfile
+
13
−
9
View file @
c09e9be1
FROM
debian:stretch-slim
FROM
cznic/knot-resolver
ENV
DEBIAN_FRONTEND noninteractive
RUN
echo
'@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing'
>>
/etc/apk/repositories
&&
\
RUN
apt-get update
&&
\
apk add
--update
\
apt-get
install
-y
unbound unbound-host dnsutils dma bsd-mailx
&&
\
dma@testing
\
rm
-rf
/tmp/
*
/var/tmp/
*
/var/lib/apt/lists/
*
/var/cache/apt/archives/
*
&&
iproute2
\
unbound-checkconf
knot-utils
\
COPY
entrypoint.sh /entrypoint.sh
mailx
\
ENTRYPOINT
["/entrypoint.sh"]
mtr
\
CMD
["/bin/bash", "--login"]
&&
\
rm
-rf
/var/cache/apk/
*
/tmp/
*
/var/tmp/
*
COPY
entrypoint /entrypoint
ENTRYPOINT
[ "/entrypoint" ]
CMD
[ "bash", "--login" ]
This diff is collapsed.
Click to expand it.
README.md
+
0
−
1
View file @
c09e9be1
...
@@ -5,5 +5,4 @@ https://www.shore.co.il/blog/resolver/.
...
@@ -5,5 +5,4 @@ https://www.shore.co.il/blog/resolver/.
## Usage
## Usage
docker pull adarnimrod/resolver
docker run -it adarnimrod/resolver
docker run -it adarnimrod/resolver
This diff is collapsed.
Click to expand it.
entrypoint
.sh
→
entrypoint
+
1
−
1
View file @
c09e9be1
#!/bin/sh
#!/bin/sh
set
-eu
set
-eu
service unbound start
echo
"net = { '127.0.0.1', '::1'}"
|
nohup
kresd
-f1
&
echo
'nameserver 127.0.0.1'
>
/etc/resolv.conf
echo
'nameserver 127.0.0.1'
>
/etc/resolv.conf
eval
"exec
$@
"
eval
"exec
$@
"
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