-
Notifications
You must be signed in to change notification settings - Fork 31
Update bsp #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bsp #19
Conversation
|
another make question for you @idavis I seem to be getting this error although running the same build command inside |
|
@daniel-dsouza I've heard this issue from one other user. There is something environmental AFAICT. I just ran the build locally and it worked fine: idavis@__:~/jetson-containers$ make l4t-32.2-tx2
make -C /home/<user>/jetson-containers/docker/l4t 32.2-tx2
make[1]: Entering directory '/home/<user>/jetson-containers/docker/l4t'
docker build --squash \
--build-arg VERSION_ID="bionic-20190612" \
--build-arg DEPENDENCIES_IMAGE=l4t:32.2-tx2-jetpack-4.2.1-deps \
-t l4t:32.2-tx2 \
-f /home/<user>/jetson-containers/docker/l4t/32.2/tx2/Dockerfile \
.
Sending build context to Docker daemon 37.89kB
Step 1/21 : ARG VERSION_ID
Step 2/21 : ARG DEPENDENCIES_IMAGE
Step 3/21 : ARG IMAGE_NAME
Step 4/21 : FROM ${DEPENDENCIES_IMAGE} as dependencies
---> 285ba7b2d8a9 |
|
@idavis which version of docker do you have?
|
|
|
hmm. given that docker has changed the way context work in 19.03, this might be related to that... |
|
Are you using 18.10 or manually updating? That shouldn't be available on 18.04 LTS. |
|
It's in the repos for me |
|
You are right. I haven't updated. I'll try to update and give it a run. |
|
Well, we have a repro... |
|
@daniel-dsouza Do you have any info on the change? I'm not seeing anything in the release notes that is shedding light. |
|
@daniel-dsouza Also, if I copy the exact command that was run and execute it, the build works fine... |
I found the relevant discussion about contexts, but I didn't see anything relating to the issue. |
|
I'll look at that discussion more. I've narrowed it down to the CLI. I can run old and new engines, but the 19.x cli breaks us. |
|
@daniel-dsouza I have it figured out. In my makefile I created a var called DOCKER_CONTEXT which gets expanded on the command line. They now have their own with the same name and they check it before they resolve I'm trying to figure out how to get around this. |
|
@daniel-dsouza BTW, that discussion led to me figure it out as I was reading through the diff. Thank you very much. |
|
@daniel-dsouza I need to test out https://github.com/idavis/jetson-containers/pull/20/files to make sure everything still works. You'll want to make the appropriate changes to your branch as well. |
This should allow you to use the 32.2 versions of the CTI BSP. still needs testing.