5 ms·
Thanks for building this! It seems to cover most features I'd want. The Dockerfile is simply downloading a release from GitHub. Docker Compose file is referrin
by mathnmusic 5y ago
Thanks for building this! It seems to cover most features I'd want.
The Dockerfile is simply downloading a release from GitHub. Docker Compose file is referring to an existing image on DockerHub. How can I build a Docker image for myself starting from the code?
It would be nice to see Motor Admin listed in CapRover's (open-source PaaS for self-hosting) "One Click Apps" catalog: https://github.com/caprover/one-click-apps/ https://github.com/caprover/one-click-apps/
- petems 5y agoThanks! Regarding your question - Motor Admin Ruby/Rails code is available under: https://github.com/motor-admin/motor-admin https://github.com/motor-admin/motor-admin - so you can dockerize this Rails app from here. But binaries still should be a much better option - you can join https://discord.com/invite/mFFJKSTgw3 https://discord.com/invite/mFFJKSTgw3 if you have any questions.
- mathnmusic 5y agoWhat I meant to ask is: Why is the Dockerfile that generates https://hub.docker.com/r/motoradmin/motoradmin https://hub.docker.com/r/motoradmin/motoradmin not available in the repo? It makes it hard to verify exactly what went into the image or to dockerize on my own. I don't see any instructions for building the binary executable either.
- petems 5y agoDocker file is available in the repo: https://github.com/motor-admin/motor-admin/blob/master/Dockerfile https://github.com/motor-admin/motor-admin/blob/master/Docke...
- mathnmusic 5y agoThis simply downloads a 65MB binary executable "motor-admin-Linux-x86_64" from GitHub and does not build from the code given in the repo. There's no visibility into what the binary actually contains or how to build it on my own.
- petems 5y agoOh got it, here is a Docker file to build rails app from source without downloading binary: https://github.com/motor-admin/motor-admin/blob/08ba1e4e339ab3f4d06426fe6f21a11a6fcb1e9e/Dockerfile https://github.com/motor-admin/motor-admin/blob/08ba1e4e339a... Will add it back to the repository in case others need it too.
- javajosh 5y agoGreat. BTW how were you planning on updating the binaries of your project without this file?
- petems 5y agoBinaries are build with https://github.com/motor-admin/ruby-packer https://github.com/motor-admin/ruby-packer - they do not require docker - this repo contains all instructions in order to pack a binary.