diff options
author | Rob Austein <sra@hactrn.net> | 2019-08-03 22:29:33 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2019-08-03 22:32:12 +0000 |
commit | 6fdf53365a65bc810fee8e640ee448d357d7e2e5 (patch) | |
tree | d95eae42e664021a5951ae100e72915c9d389899 | |
parent | cd57b6fa764c2c9c71446d2aefeb43a8822a2bd8 (diff) |
Need the stretch-backports version of debootstrap's database
-rw-r--r-- | Dockerfile | 35 |
1 files changed, 20 insertions, 15 deletions
@@ -4,22 +4,27 @@ FROM cryptech-builder:base # stuff is much more likely to change than the XiLinx tools, so we put # it at the end of the build where we can use normal Docker tooling. -RUN apt-get update && \ +RUN sed -i -E \ + -e '/stretch-backports/d' \ + -e '/ stretch /{; h; s/ stretch / stretch-backports /; x; G; }' \ + /etc/apt/sources.list && \ + apt-get update && \ + apt-get upgrade --with-new-pkgs -y && \ apt-get install -y \ - avr-libc \ - binutils-avr \ - debootstrap \ - distro-info-data \ - gcc-arm-none-eabi \ - gcc-avr \ - git \ - pbuilder \ - python-crypto \ - python-serial \ - python-yaml \ - reprepro \ - ubuntu-archive-keyring \ - ubuntu-dev-tools + avr-libc \ + binutils-avr \ + debootstrap/stretch-backports \ + distro-info-data \ + gcc-arm-none-eabi \ + gcc-avr \ + git \ + pbuilder \ + python-crypto \ + python-serial \ + python-yaml \ + reprepro \ + ubuntu-archive-keyring \ + ubuntu-dev-tools USER builder WORKDIR /home/builder |