corefx-tools
corefx-tools copied to clipboard
Error when building Docker image from demo
Running docker build with Dockefile produces the following error:
Step 7/10 : RUN apt-get -y install linux-tools-common linux-tools-`uname -r` linux-cloud-tools-`uname -r` lttng-tools lttng-modules-dkms liblttng-ust0 zip
---> Running in bcc38dd5d269
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package linux-tools-4.9.49-moby
E: Couldn't find any package by regex 'linux-tools-4.9.49-moby'
E: Unable to locate package linux-cloud-tools-4.9.49-moby
E: Couldn't find any package by regex 'linux-cloud-tools-4.9.49-moby'
The command '/bin/sh -c apt-get -y install linux-tools-common linux-tools-`uname -r` linux-cloud-tools-`uname -r` lttng-tools lttng-modules-dkms liblttng-ust0 zip' returned a non-zero code: 100
I see the same or at least a similar issue with the current version of Docker on Windows. I assume this means that linux tools for the linuxkit kernel are not in the default apt repos. Do these exist? The linux tools and perf binaries for linuxkit need to be built added to apt to get this DockerFile to work.
Ironically this means Docker for Windows isn't working but I assume that this script would work if I was running on an Ubuntu machine.
Step 7/10 : RUN apt-get -y install linux-tools-common linux-tools-`uname -r` linux-cloud-tools-`uname -r` lttng-tools lttng-modules-dkms liblttng-ust0 zip
---> Running in d585d91c6749
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package linux-tools-4.9.125-linuxkit
E: Couldn't find any package by regex 'linux-tools-4.9.125-linuxkit'
E: Unable to locate package linux-cloud-tools-4.9.125-linuxkit
E: Couldn't find any package by regex 'linux-cloud-tools-4.9.125-linuxkit'