Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker issues #572

Closed
2 tasks done
neworderofjamie opened this issue Mar 1, 2023 · 1 comment
Closed
2 tasks done

Docker issues #572

neworderofjamie opened this issue Mar 1, 2023 · 1 comment

Comments

@neworderofjamie
Copy link
Contributor

neworderofjamie commented Mar 1, 2023

The new Docker image is pretty nice but has a couple of issues:

  • I didn't quite understand how layering works when I built it so the Dockerfile could be significantly optimised by combining together multiple bash incantations into single RUN commands (specifically all the apt-get stuff and the PyGenn install).
  • The Python environment is currently owned by root so not modifiable from within the docker environment. It would probably be better to create a virtualenv in the Dockerfile and, in the entrypoint, move it into /home/genn, chown it to the genn user and activate it.
@neworderofjamie
Copy link
Contributor Author

You can pip install --user whatever which I think is fine - no need mess with this any more

@neworderofjamie neworderofjamie modified the milestones: GeNN 5.0.0, GeNN 4.9.0 Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant