docker-meteor icon indicating copy to clipboard operation
docker-meteor copied to clipboard

[Second life ?] 1.4 support

Open ilan-schemoul opened this issue 8 years ago • 7 comments

As dev showed in another issue brieve signal of a desire of updating this repo I open this issue to say that first thing to do is to stop using root as user, or to use the --allow-superuser option when launching meteor otherwise meteor is not gonna working (either to compile or to watch file in dev mode) giving the error message :

You are attempting to run Meteor as the 'root' superuser. If you are
developing, this is almost certainly *not* what you want to do and will likely
result in incorrect file permissions. However, if you are running this command
in a build process (CI, etc.), or you are absolutely sure you know what you are
doing, set the METEOR_ALLOW_SUPERUSER environment variable or pass
--allow-superuser to proceed.

I also want to know what is the future of this package, multiple updates on docker has been made but github hasn't been updated. As there's activity on this package I'm probably gonna use this dockerfile if your going to support this package in the future so could you please declare for devs like me your plans about this package.

ilan-schemoul avatar Jan 06 '17 15:01 ilan-schemoul

I may create a PR with a fix or create another repo, it's all about if @DanielDent is still active.

ilan-schemoul avatar Jan 07 '17 16:01 ilan-schemoul

A good PR will be appreciated and merged. Currently going through existing issues and I'm going to look at merging and what updates are needed. Thanks for your patience - I know it's been a long time since this repo was updated.

DanielDent avatar Jan 07 '17 21:01 DanielDent

https://github.com/DanielDent/docker-meteor/blob/master/latest/meteor-installer.patch Why is there stuff as @@ -41,7 +46,7 @@

-if [ "$UNAME" != "Linux" -a "$UNAME" != "Darwin" ] ; then
+if [ "$UNAME" != "Linux" ] ; then

inside the sourcecode, it look like a git diff but it is inside the source code.

ilan-schemoul avatar Jan 08 '17 11:01 ilan-schemoul

It's used to adjust the installer so that it supports installing a specific version.

DanielDent avatar Jan 08 '17 23:01 DanielDent

No I do not asked for an explanation 'bout this line I ask you why in source code (EVEN when one download it locally so it's not only a diff visible on github) : image

This look like a diff between two version of a file but when I download your source code of https://github.com/DanielDent/docker-meteor/blob/master/latest/meteor-installer.patch I still have these kind of diff lines. Anyway I don't know if I'm gonna code code these days but the fix is easy (tested), you add a --allow-superuser after the meteor command

ilan-schemoul avatar Jan 10 '17 22:01 ilan-schemoul

Still I have a question, I'm not against helping but why do you update docker's repo but not Github's one ?

ilan-schemoul avatar Jan 14 '17 16:01 ilan-schemoul

I think I'm going to give up w/ docker and use another way of deployment as pm2-meteor or something else. Anyway as I said I tested it and just add --allow-superuser when needed for instance

ONBUILD RUN meteor build .. --directoryy --allow-superuser \
[...]

ilan-schemoul avatar Jan 14 '17 18:01 ilan-schemoul