|
| From: | Thomas Huth |
| Subject: | Re: [PATCH 1/8] tests/docker: Fix alpine dockerfile |
| Date: | Thu, 28 Jul 2022 08:52:24 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 27/07/2022 18.36, Lucas Mateus Castro(alqotel) wrote:
Currently the run script uses 'readlink -e' but the image only has the
busybox readlink, this commit add the coreutils package which
contains the readlink with the '-e' option.
Signed-off-by: Lucas Mateus Castro(alqotel) <lucas.araujo@eldorado.org.br>
---
tests/docker/dockerfiles/alpine.docker | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/docker/dockerfiles/alpine.docker
b/tests/docker/dockerfiles/alpine.docker
index 3f4c0f95cb..2943a99730 100644
--- a/tests/docker/dockerfiles/alpine.docker
+++ b/tests/docker/dockerfiles/alpine.docker
@@ -21,6 +21,7 @@ RUN apk update && \
cdrkit \
ceph-dev \
clang \
+ coreutils \
ctags \
curl-dev \
cyrus-sasl-dev \
Not a good idea. If you look at the top of the file, you can see: # THIS FILE WAS AUTO-GENERATEDSo your modifications will be overwritten the next time someone runs the lcitool.
I guess you'd need to modify tests/lcitool/projects/qemu.yml instead? Daniel?Anyway, it might be better to fix the part that uses "readlink -e" ... Seems like busybox' readlink supports -f at least, so maybe it's enough to switch to -f instead of -e ?
Thomas
| [Prev in Thread] | Current Thread | [Next in Thread] |