Comments (3)
Are you using https://github.com/disney/meteor-base/blob/main/example/app-with-native-dependencies.dockerfile? There are three base images there; the middle one compiles your app dependencies in an Alpine context. This is mentioned in https://github.com/disney/meteor-base#step-1-bootstrap-dockerfile-from-template.
If this doesn’t address your issue, please provide a minimal reproduction. You can also search this repo for issues related to “bcrypt,” as that’s a very commonly used native dependency that has tripped people up in the past.
from meteor-base.
Hey there!
We're experiencing this issue: monti-apm/meteor-profiler#6
The problem seems to be that v8-profiler-next gets compiled against glibc (Debian) and then ran against musl (Alpine). Or it might just be that it doesn't like musl.
Anyway, using Debian as a final image resolved the issue: Refty/lemverse@68f5ff9
I've tried the app-with-native-dependencies.dockerfile
as well, but it doesn't change anything since the npm deps are still built on Debian and ran on Alpine.
Please consider reopening this issue and either base this repository's src/Dockerfile
on Alpine, or modify examples so that they're using a slim Debian instead of Alpine. :)
PS – Debian slim images are only 10MB or so larger than Alpine images, but tend to be much more stable (glibc is much more widely used and supported than musl).
from meteor-base.
If you look at
, your dependencies are recompiled under Alpine as part ofapp-with-native-dependencies.dockerfile
. That won’t help if the dependency itself won’t compile under Alpine or run successfully under Alpine, or if it ships just a binary without sources that can be compiled, which sounds like the edge case you’re mentioning. In that case, another file like app-with-native-dependencies-debian.dockerfile
could perhaps be created that changes both Alpine images (the intermediate build image and the runtime image) to Debian, similar to your changes in Refty/lemverse@68f5ff9. If you’d like to try this out and open a PR, including updates to the README and tests, I’ll review it.from meteor-base.
Related Issues (20)
- Need help with `canvas` pls HOT 2
- New CVE-2022-0778 HOT 2
- Include 2.5.7-beta.0 HOT 1
- '/root/.meteor' exists, but '/root/.meteor/meteor' is not executable. HOT 32
- Proxy Configuration HOT 1
- Add better minification and obfuscation HOT 1
- Error with Vite bundler for Meteor + Vue 3 app HOT 5
- Missing 2.8.1 tag on docker hub HOT 1
- Missing 2.9.0 & 2.9.1 tags on Docker hub HOT 1
- No ark available HOT 1
- TypeError in docker HOT 1
- Error: Could not get https://warehouse.meteor.com HOT 2
- Add ssh to base image to install dependencies directly from Git/Github HOT 1
- app not available at localhost HOT 1
- Missing 2.8.2 tag on docker hub HOT 1
- build-meteor-bundle.sh error HOT 2
- No version needed in `docker-compose.yml` and updates to reflect latest changes in the docker ecosystem HOT 1
- update.sh adds duplicated lines to support.sh HOT 1
- Missing 2.15 tag on Docker hub HOT 2
- Development version? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-base.