mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[PR #132] small Dockerfile improvements #312
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#312
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/acme-dns/acme-dns/pull/132
Author: @schue30
Created: 12/25/2018
Status: 🔄 Open
Base:
master← Head:master📝 Commits (10+)
6fd21c3improve Dockerfile19750e8update docker-compose.yml to use the ports of the updated Dockerfile865eb6eMerge branch 'master' into master6282e35update go to version 1.11.5 and acme-dns to release 0.7 + fix port replacemente17aeb8add the Dockerfile changes to the README4f1b160Merge branch 'master' into master482722aupdate dockerfile to golang 1.12 + alpine to 3.9 + acme-dns to v0.7.2939d26badd docker-compose migration path to the README.md file2ab81f3fix acme-dns version definition + change cmd to entrypoint + use install command in dockerfilef6a5ab2use alpine instead of scretch base image + add healthcheck📊 Changes
3 files changed (+66 additions, -26 deletions)
View changed files
📝
Dockerfile(+24 -14)📝
README.md(+34 -7)📝
docker-compose.yml(+8 -5)📄 Description
This PR improves the following points in the Dockerfile:
WARNING - this PR contains breaking changes in the Dockerfile
The container that is started from the image that is built from this Dockerfile is running as user 1000 instead of root (0). As a non root user cannot (per default) listen on system ports (<1024), I had to change them to ones that are higher than 1024. In this case 5353, 8080.
Updates from older versions should not be a problem, as long as the user 1000 or the group 0 has read permissions on the config file, write permissions on the sqlite db file and the listening ports are higher than 1024.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.