Docker.Official.Image icon indicating copy to clipboard operation
Docker.Official.Image copied to clipboard

Install dependencies - Clear up logs - Rebuild pre-built modules

Open lag-linaro opened this issue 6 years ago • 16 comments

Fixes arm build see #54

lag-linaro avatar Nov 29 '18 12:11 lag-linaro

is it necessary to rebuild sharp and grpc here?

geekgonecrazy avatar Dec 05 '18 17:12 geekgonecrazy

is it necessary to rebuild sharp and grpc here?

Did you read the commit message?

Rebuilding essentially gives you multi-arch support.

lag-linaro avatar Dec 05 '18 17:12 lag-linaro

Ah right! Yes we actually have to do this step in our snap builds also. Also had to do something similar for my alpine PR for our other image.. 🤔 In this case for libc

https://github.com/RocketChat/Rocket.Chat/pull/12548

I wonder if we shouldn't instead have these installed via npm instead of bundled that way always built for the appropriate architecture during npm install instead of having to do this "hack" in multiple ways on multiple distribution methods.

@sampaiodiego is that even possible to move from bundled dependency to installed by end user? Looks like grpc (from google vision package) and sharp

geekgonecrazy avatar Dec 05 '18 18:12 geekgonecrazy

Yes, if that's possible then it would be better.

Although, it would be good to merge this pull-request in the mean time, as a quick win.

Happy to help you work on the enduring solution too if that's required.

lag-linaro avatar Dec 06 '18 07:12 lag-linaro

is that even possible to move from bundled dependency to installed by end user? Looks like grpc (from google vision package) and sharp

@geekgonecrazy I don't know :disappointed: the directory bundle/programs/server/npm is added by meteor build command, idk where its content comes from =/

sampaiodiego avatar Dec 07 '18 13:12 sampaiodiego

Penny for your thoughts guys?

lag-linaro avatar Dec 12 '18 16:12 lag-linaro

Any updates on this please?

It's been a long time since I submitted this.

lag-linaro avatar Feb 18 '19 11:02 lag-linaro

@lag-linaro sorry for the delay we are actually hung up by #57 please see conversation there. But basically at the moment would do no good to merge because would not be able to be published :(

geekgonecrazy avatar Feb 27 '19 21:02 geekgonecrazy

Looks like #57 is now closed.

lag-linaro avatar Apr 02 '19 03:04 lag-linaro

Yes the dockerfile has changed some so might require a sync and test to make sure works still. Would gladly merge though if we can get in sync

geekgonecrazy avatar Apr 02 '19 03:04 geekgonecrazy

Rebased, moved back over to using node:<xxx>-slim and removed debian:jessie-slim hack.

lag-linaro avatar Jun 13 '19 10:06 lag-linaro

What if I dropped that patch? Is the rest still acceptable?

lag-linaro avatar Jun 17 '19 06:06 lag-linaro

Okay Aaron (@geekgonecrazy), I have added the hack back in.

Please re-consider this pull-request.

lag-linaro avatar Aug 13 '19 08:08 lag-linaro

@Sing-Li please take a look at this pull-request.

It should provide support for AArch64.

lag-linaro avatar Aug 14 '19 11:08 lag-linaro

We've put considerable work into making this work with aarch64.

It would be a real shame to see it go to waste.

Could someone @Sing-Li, @geekgonecrazy please take a look at this?

lag-linaro avatar Sep 19 '19 09:09 lag-linaro

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Lee Jones seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Feb 04 '23 01:02 CLAassistant