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

Can't build with latest Meteor update (v1.4.2) #15

Open
velith opened this issue Oct 26, 2016 · 10 comments
Open

Can't build with latest Meteor update (v1.4.2) #15

velith opened this issue Oct 26, 2016 · 10 comments

Comments

@velith
Copy link

velith commented Oct 26, 2016

With the latest update to Meteor v.1.4.2, building an image gives an error that the build is running as root user.

You are attempting to run Meteor as the "root" user. 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 in a build process
(CI, etc.) or you are absolutely sure you know what you are doing, add the
--unsafe-perm flag to this command to proceed.

I have only FROM kadirahq/meteord:onbuild in my Dockerfile and I cannot seem to switch user, since the error occurs during the first steps.

Is there perhaps a workaround?

Edit: This might also be useful from the meteor repo
meteor/meteor#7964

@Flavien-Pensato
Copy link

+1

1 similar comment
@Netherdrake
Copy link

+1

@tnargwoxow
Copy link

I'm having the same problem - trying to bypass the kadriq repo for now

@0o-de-lally
Copy link

There are a few alternatives to meteorD. See them here, and leave some feedback:
https://forums.meteor.com/t/docker-team-up-to-create-a-reference-docker-image-for-meteor/30829/3

@patrick-fitzgerald
Copy link

+1

@Flavien-Pensato
Copy link

Thanks @keyscores using jshimko/meteor-launchpad and build my image on Quay.io solves the issue.

@tnargwoxow
Copy link

I still can't build in DockerHub with jshimko/meteor-launchpad? Can anyone else?

@Netherdrake
Copy link

I can't either, so I just build it locally and push to dockerhub.

@0o-de-lally
Copy link

@tnargwoxow @Netherdrake there is a new build for jshimko/meteor-launchpad since your last message.

@tnargwoxow
Copy link

@keyscores Thanks - strangely this one seems to respect my earlier preference of meteor version and installs 1.3.4.4 - that version doesn't contain the --unsafe-perms line and therefore the build fails. I'll raise it over there though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants