Comments (5)
Yes! I have had this open for a while.
Question: do we care if we build in alpine or Debian? The reason I ask is installing the cross-compilers. In alpine, you need to download the right cross-compiler, usually from https://musl.cc but there are others. It currently doesn't work because of URL changes.
In Debian, you can do something like:
RUN dpkg --add-architecture arm64
RUN apt update
RUN apt install -y binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu
and get what you need. Alpine explicitly does not package up cross-compilers and says they have no intention to do so (I checked last week again).
Of course, the final image is FROM alpine:3.8
, so it should not affect the results (need to watch out for libc and dynamically linked dependencies).
from eve.
I believe we can't avoid building in alpine on account on musl. Remember that the goal here is to get A SINGLE zedbox binary cross-built and then use image linkuxkit file stanza to replace it in the final image.
from eve.
Remember that the goal here is to get A SINGLE zedbox binary cross-built
Yes, definitely. The only concern I would have is with libc (glibc vs must), and even then, only if it makes certain calls. I have done some projects that distribute on alpine but build on Debian, precisely because of the cross-building ease. Assuming we do statically linked (which we definitely should be doing), then that would be the only potential issue.
It is easy to test, of course. I will try to get to it.
The real issue here is the CGO
. Without that, we don't need any of the cross-compilers, since go itself does it so well.
from eve.
@eriknordmark @deitch do we keep this or outdated? there was a PR recently #2998 so no issues expected.
from eve.
Correct @rouming and I can't reproduce this error anymore, let's close it.
from eve.
Related Issues (20)
- Use sbom-scorecard in GH action to catch regressions? HOT 4
- Need way to manually re-trigger assets workflow HOT 5
- usbmanager golang panic: missing checks for nil return from ioBundle2PassthroughRule?
- Uniform Usage of Directory Path Constants Across EVE Codebase
- Loss of content tree image type for container downloaded but not loaded during reboot HOT 18
- How can I allow all traffic for a kind of "switch" HOT 2
- Question related to available hypervisors HOT 1
- Optimize pillar/zedbox memory usage
- fTPM on ARM HOT 1
- Replace (part of) kvm/qemu with firecracker/rust-vmm
- Try kata containers with k3s
- Observable memory usage in kvm/qemu to predict OOM HOT 1
- App PCIe passthrough should deny takeover of zfs owned devices
- Integration of tee-utils and tee-supplicant daemon
- Add more DTB overlays to Raspberry PI
- Get more information about the hardware and sensors as well
- Live image doesn't boot when EVE-OS is installed on another storage device
- Add some local commands to be used by local administrators HOT 1
- Request: Add Container-Name in Prompt for all our service containers similar to pillar
- Document meta-data server access limitations
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 eve.