diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2017-06-02 15:56:13 -0300 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2017-06-21 15:01:48 +0100 |
commit | cf80eb8d09fba45067344310ae0c01655e6e58cb (patch) | |
tree | 6b0149d2bceff6fa8a47ed1bfdd0f2940b4490fb /tests/docker | |
parent | 2c1c31ed5579573cbb0ea53ec7f10a77c77233d2 (diff) |
docker: use better regex to generate deb-src entries
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
[AJB: fixed up following dropping emdebian]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker')
-rw-r--r-- | tests/docker/dockerfiles/debian.docker | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/dockerfiles/debian.docker b/tests/docker/dockerfiles/debian.docker index e44ce2f1c0..b0e1691beb 100644 --- a/tests/docker/dockerfiles/debian.docker +++ b/tests/docker/dockerfiles/debian.docker @@ -10,7 +10,7 @@ FROM debian:stable-slim # Duplicate deb line as deb-src -RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list +RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list # Install common build utilities RUN apt update |