Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 412
    • Issues 412
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Merge requests
  • !2367

Fix docker development set-up (#2102)

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Marcos Peña requested to merge 2102-fix-development-docker-setup into develop Mar 17, 2023
  • Overview 2
  • Commits 2
  • Pipelines 6
  • Changes 4

Closes #2102 (closed)

I'll explain the fixes since it affects multiple files:

  • api/Dockerfile: py3-cryptography-38.0.3-r0 breaks world[py3-cryptography=38.0.3-r0], so I've simply updated it to r1.
  • api/Dockerfile: dev-requirements.txt dependencies were not loaded because of an invisible leading character in ln 74-80 (I almost went nuts with this one). So libraries for dev weren't loaded (/bin/sh:   grep: not found), hence the modules not found exceptions for factory and debug_toolbar.
  • docker/nginx/conf.dev: restored location /statifiles block. Otherwise static files wont' load in admin pages
  • Finally api/funkwhale_api/music/fake_data.py: since the tracks created weren't playable they weren't displayed. create_data method it's not called anywhere in the codebase. Apparently it's only used when setting up local data.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 2102-fix-development-docker-setup