Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
897d3de0
Commit
897d3de0
authored
Aug 21, 2022
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Dockerfile
parent
8a73b3b3
Pipeline
#15976
failed with stages
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Dockerfile
Dockerfile
+8
-1
No files found.
Dockerfile
View file @
897d3de0
...
@@ -9,11 +9,18 @@ RUN export DEBCONF_NONINTERACTIVE_SEEN=true \
...
@@ -9,11 +9,18 @@ RUN export DEBCONF_NONINTERACTIVE_SEEN=true \
apt-get
-yyqq
upgrade
;
\
apt-get
-yyqq
upgrade
;
\
apt-get
-yyqq
install
ca-certificates
;
\
apt-get
-yyqq
install
ca-certificates
;
\
apt-get clean
apt-get clean
FROM
golang:1.18 as builder
WORKDIR
/v
COPY
. .
RUN
echo
'alternate:github.com/coredns/alternate'
>>
plugin.cfg
RUN
make
FROM
scratch
FROM
scratch
COPY
--from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY
--from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ADD
coredns /coredns
COPY
--from=builder /v/
coredns /coredns
EXPOSE
53 53/udp
EXPOSE
53 53/udp
ENTRYPOINT
["/coredns"]
ENTRYPOINT
["/coredns"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment