Resolve "[Docker] Do not run as root" #2189
No reviewers
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-Core!2189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "409-docker-do-not-run-as-root"
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?
Closes #409
This MR also partially addresses #403 because fixing the permissions on the data required touching the volumes anyway. But it is not complete — especially, the static root should not be writable by
www-data.added 1 commit
ce183405- [Docker] Drop privileges to www-data after container buildCompare with previous version
added 2 commits
280434aa- Run `collectstatic` at build time74eb629e- [Docker] Honour storage locations and declare volumes correctlyCompare with previous version
changed the description
assigned to @hansegucker and unassigned @nik
requested review from @debdolph
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 2 commits
Compare with previous version
added 5 commits
bdcb1036- Run `collectstatic` at build time1f2833ac- [Docker] Honour storage locations and declare volumes correctly8194a7d0- [Docker} Do not declare static root as volumeda0050cc- Use media storage for maintenance mode state file39df0f57- [Docker] Use numeric user ID in USER to not confuse K8sCompare with previous version
added 4 commits
0d5c0fbd- [Docker] Honour storage locations and declare volumes correctly86a9b0e8- [Docker] Do not declare static root as volumeCompare with previous version
marked this merge request as ready
marked this merge request as draft
added 2 commits
214f5bb4- Use media storage for maintenance mode state filefd9c6006- [Docker] Use numeric user ID in USER to not confuse K8sCompare with previous version
marked this merge request as ready
marked this merge request as draft
added 3 commits
dba23b95- Run poetry updated12a111d- Merge branch 'feature/poetry-update' into 409-docker-do-not-run-as-root35ea4686- Use `DefaultStorageBackend` from upstream django-maintenance-modeCompare with previous version
marked this merge request as ready
mentioned in merge request !2194
approved this merge request
There are some merge conflicts.
approved this merge request
added 6 commits
master7e458d32- Merge branch 'master' into 409-docker-do-not-run-as-rootCompare with previous version
mentioned in commit
c6f14fe12b