Open lbRaytec opened 1 week ago
Hi @lbRaytec , thanks for your question.
The example builds and test pass in nightly tests, so more information about your system would be required to see if the problem can be replicated.
What OS and OS version are you using?
Which version of Docker Desktop or Docker Engine are you using?
Run docker --version
and paste command and result here
Are you standing on main
branch of this repository when building? Could you paste the SHA1 of last commit or run git log -1
and paste the command and output here?
Have you modified the web-server example?
Windows 11 version 23H2
Docker version
Docker version 27.2.0, build 3ab4256
last commit log:
commit bea36cadd81ca7a14ae0df52920018a5b94736a6 (HEAD -> main, origin/main, origin/HEAD)
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue Sep 17 15:40:17 2024 +0000
chore(deps): update super-linter/super-linter action to v7
No, I have not modified the example. did git clone <url>
. Then, navigated into the web-server
example and ran as per the documentation.
Are you using Docker Desktop for Windows and building there or are you using Windows Subsystem for Linux (WSL) with Ubuntu? I'm not completely familiar with Docker Desktop setup.
Navigated to web-server
folder.
set ARCH=armv7hf
Have to use set
here because it is the windows alternate for export
.
docker build . --build-arg ARCH --tag web-server:ARCH
This gives me the error!
No, didn't use WSL. Although I have WSL , I didn't build there. Other examples like hello-world
worked fine with Windows. Thus, I was optimistic that web-server
would work as well.
Thanks for supplying more background. Just mentioning that there was a similar problem for applying patches in #85, but it was solved for Windows setup with WSL.
To troubleshoot, a thing that could be tested is to disable Buildkit to see if a newer version cause some issue
DOCKER_BUILDKIT=0 docker build . --build-arg ARCH=armv7hf --tag web-server:armv7hf
If you have possibility to test on WSL, it would be interesting to know if that works better.
Hello, I am trying to work with the web-server example. I pulled the code from GitHub repo and executed the following Docker command to build the example.
docker build . --build-arg ARCH=armv7hf --tag web-server:armv7hf
The docker execution resulted in the following error.
`=> ERROR [ 6/10] RUN git apply --ignore-space-change --ignore-whitespace ../monkey.patch && . /opt/axis/acapsdk/envi 0.2s
Am I wrong with versions here because that's the only possible scenario I could think off. As, I have just pulled the code from example and trying to execute it.
TIA!