Updated the Dockerfiles to switch to UID 999 before running. Because
non-root users cannot bind to ports below 1024, I also updated the
ROCKET_PORT to 8080.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/1014
Author: @Stampede10343
Created: 6/2/2020
Status: ❌ Closed
Base:
master← Head:feature/run-bitwarden-rs-as-non-root📝 Commits (1)
514eceaRun bitwarden-rs as non-root user📊 Changes
15 files changed (+42 additions, -28 deletions)
View changed files
📝
README.md(+2 -1)📝
docker/Dockerfile.j2(+3 -2)📝
docker/aarch64/mysql/Dockerfile(+3 -2)📝
docker/aarch64/sqlite/Dockerfile(+3 -2)📝
docker/amd64/mysql/Dockerfile(+3 -2)📝
docker/amd64/mysql/Dockerfile.alpine(+3 -2)📝
docker/amd64/postgresql/Dockerfile(+3 -2)📝
docker/amd64/postgresql/Dockerfile.alpine(+3 -2)📝
docker/amd64/sqlite/Dockerfile(+3 -2)📝
docker/amd64/sqlite/Dockerfile.alpine(+3 -2)📝
docker/armv6/mysql/Dockerfile(+3 -2)📝
docker/armv6/sqlite/Dockerfile(+3 -2)📝
docker/armv7/mysql/Dockerfile(+3 -2)📝
docker/armv7/sqlite/Dockerfile(+3 -2)📝
docker/healthcheck.sh(+1 -1)📄 Description
Updated the Dockerfiles to switch to UID 999 before running. Because
non-root users cannot bind to ports below 1024, I also updated the
ROCKET_PORT to 8080.
This should address #968
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.