Comments (9)
All the eve pkgs are built with alpine Linux in Docker, including xen-tools. I tried to modify the pkg/xen-tools/Dockerfile to export GIT_PROXY_COMMAND to use git proxy, but it didn't work. It looks like alpine Linux doesn't support git proxy well.
Currently I have to use my personal home machine to build EVE, where there is no firewall. It will be nice if we can build EVE behind the firewall, after all the companies will have the firewall.
from eve.
@jren1 it looks like git pulls are used throughout the Xen build process.
Assuming we can get it to work via proxy, at least manually, we can standardize it into the Dockerfile
. How did you set the GIT_PROXY_COMMAND
when it didn't work?
from eve.
Just for a note for later. Assuming we can get this to work through a proxy, we have several issues to resolve:
- setting the proxy correctly in
pkg/xen-tools/Dockerfile
. The proxy command itself needs to be inside the container for it to work. - the setting needs to be run-dependent (@jren1 uses it when he runs, I do not), so it cannot be permanently checked in, rather must be env or flag enabled
- our "caller" for
docker build
islkt pkg build
, which does not really support build args (see this issue just opened), so we cannot use build-args to pass it in
Those only come to play once we can get it running by manually setting it, waiting for @jren1 to respond to this
from eve.
@jren1 can we close this one out? We now have full support for http_proxy
,https_proxy
,all_proxy
,no_proxy
in building the builder and in building pkg/xen-tools
.
Please validate if it works. If yes, let us close it; if not, let's figure out what is missing and get it in.
from eve.
@jren1 confirmed by email that the proxies are, indeed, passed through.
Remaining is how to configure the git proxy script as an option.
from eve.
As I understand it, @jren1 , you have it set up to do the following:
- have a proxy script (I think you are using this that conforms to the git proxy requirements
- install that proxy in the image using
COPY oe-git-proxy /
in theDockerfile
- Set
GIT_PROXY_COMMAND=/oe-git-proxy
env var, so that git uses that proxy script - The git proxy script then uses
all_proxy
env var to access via the proxy
- Is that correct?
- Is it fair to say that if we had it set up so that if
all_proxy
was set, it would set theGIT_PROXY_COMMAND
to that file, that it would work?
Please confirm and we will get it in.
from eve.
yes, right. To make the proxy work, 2 steps are required:
- pass the all_proxy variable to the Dockerfile
- copy oe-git-proxy to the docker and export GIT_PROXY_COMMAND to use oe-git-proxy
Anyway, once you cooked the patch, I can help verify.
from eve.
See #255. That should finally close this out. :-)
from eve.
Confirmed it works behind the firewall , good job!
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.