-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
see also #42 (comment)
Since f3828fd the container doesn't start anymore.
After deleting the container and /srv/fdroid on every start I only get the following error:
➜ ~ docker logs playmaker
error initializing fdroid repository CRITICAL: Android SDK path "/opt/android-sdk-linux" does not contain "platform-tools/"!
CRITICAL: Unknown exception found!
Traceback (most recent call last):
File "/usr/bin/fdroid", line 147, in <module>
main()
File "/usr/bin/fdroid", line 124, in main
mod.main()
File "/usr/lib/python3/dist-packages/fdroidserver/init.py", line 125, in main
os.mkdir('repo')
PermissionError: [Errno 13] Permission denied: 'repo'
I think this has something to do that /srv/fdroid (outside of the container) is only readable by root,
and I think this line only runs on container creation and not when starting the container.
Line 45 in a97fd9e
| RUN chown -R pmuser:pmuser /data/fdroid && \ |
But I know too little about how docker works correctly to suggest a solution.
Metadata
Metadata
Assignees
Labels
No labels