4 ms·
Thanks! Regarding your question - Motor Admin Ruby/Rails code is available under: https://github.com/motor-admin/motor-admin https://github.com/motor-admin/mot
by petems 5y ago
Thanks!
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.