diff --git a/docker/Dockerfile.aarch64-unknown-linux-gnu b/docker/Dockerfile.aarch64-unknown-linux-gnu index 675d4bcd8..2d6483db8 100644 --- a/docker/Dockerfile.aarch64-unknown-linux-gnu +++ b/docker/Dockerfile.aarch64-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-aarch64-linux-gnu \ libc6-dev-arm64-cross diff --git a/docker/Dockerfile.arm-unknown-linux-gnueabi b/docker/Dockerfile.arm-unknown-linux-gnueabi index 95a794471..0dd44a25a 100644 --- a/docker/Dockerfile.arm-unknown-linux-gnueabi +++ b/docker/Dockerfile.arm-unknown-linux-gnueabi @@ -10,7 +10,7 @@ COPY xargo.sh / RUN /xargo.sh COPY qemu.sh / -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-arm-linux-gnueabi \ libc6-dev-armel-cross && \ /qemu.sh arm diff --git a/docker/Dockerfile.armv5te-unknown-linux-gnueabi b/docker/Dockerfile.armv5te-unknown-linux-gnueabi index c7f08cf83..583e2abfb 100644 --- a/docker/Dockerfile.armv5te-unknown-linux-gnueabi +++ b/docker/Dockerfile.armv5te-unknown-linux-gnueabi @@ -10,7 +10,7 @@ COPY xargo.sh / RUN /xargo.sh COPY qemu.sh / -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-arm-linux-gnueabi \ crossbuild-essential-armel \ libc6-dev-armel-cross && \ diff --git a/docker/Dockerfile.armv7-unknown-linux-gnueabihf b/docker/Dockerfile.armv7-unknown-linux-gnueabihf index ba2c1842b..014065f42 100644 --- a/docker/Dockerfile.armv7-unknown-linux-gnueabihf +++ b/docker/Dockerfile.armv7-unknown-linux-gnueabihf @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-arm-linux-gnueabihf \ libc6-dev-armhf-cross diff --git a/docker/Dockerfile.asmjs-unknown-emscripten b/docker/Dockerfile.asmjs-unknown-emscripten index d91664604..e08cbbc2a 100644 --- a/docker/Dockerfile.asmjs-unknown-emscripten +++ b/docker/Dockerfile.asmjs-unknown-emscripten @@ -23,7 +23,7 @@ ENV PATH="${EMSDK}:${EMSDK}/emscripten/sdk:${EMSDK}/llvm/clang/bin:${EMSDK}/node ENTRYPOINT ["/emsdk_portable/entrypoint"] -RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get update && apt-get install --assume-yes --no-install-recommends \ libxml2 \ python diff --git a/docker/Dockerfile.i586-unknown-linux-gnu b/docker/Dockerfile.i586-unknown-linux-gnu index b91ac04f8..54b2cca8b 100644 --- a/docker/Dockerfile.i586-unknown-linux-gnu +++ b/docker/Dockerfile.i586-unknown-linux-gnu @@ -9,5 +9,5 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-multilib diff --git a/docker/Dockerfile.i686-unknown-linux-gnu b/docker/Dockerfile.i686-unknown-linux-gnu index 1a7b98f0c..7af999d0c 100644 --- a/docker/Dockerfile.i686-unknown-linux-gnu +++ b/docker/Dockerfile.i686-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-multilib COPY qemu.sh / diff --git a/docker/Dockerfile.mips64-unknown-linux-gnuabi64 b/docker/Dockerfile.mips64-unknown-linux-gnuabi64 index e51089d73..441b5bd8a 100644 --- a/docker/Dockerfile.mips64-unknown-linux-gnuabi64 +++ b/docker/Dockerfile.mips64-unknown-linux-gnuabi64 @@ -10,7 +10,7 @@ COPY xargo.sh / RUN /xargo.sh COPY qemu.sh / -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-mips64-linux-gnuabi64 \ libc6-dev-mips64-cross && \ /qemu.sh mips64 diff --git a/docker/Dockerfile.mips64el-unknown-linux-gnuabi64 b/docker/Dockerfile.mips64el-unknown-linux-gnuabi64 index 720ca2947..c674061cc 100644 --- a/docker/Dockerfile.mips64el-unknown-linux-gnuabi64 +++ b/docker/Dockerfile.mips64el-unknown-linux-gnuabi64 @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-mips64el-linux-gnuabi64 \ libc6-dev-mips64el-cross diff --git a/docker/Dockerfile.mipsel-unknown-linux-gnu b/docker/Dockerfile.mipsel-unknown-linux-gnu index c846da675..bc4a07958 100644 --- a/docker/Dockerfile.mipsel-unknown-linux-gnu +++ b/docker/Dockerfile.mipsel-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-mipsel-linux-gnu \ libc6-dev-mipsel-cross diff --git a/docker/Dockerfile.powerpc-unknown-linux-gnu b/docker/Dockerfile.powerpc-unknown-linux-gnu index b56c45f78..d92225aef 100644 --- a/docker/Dockerfile.powerpc-unknown-linux-gnu +++ b/docker/Dockerfile.powerpc-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-powerpc-linux-gnu \ libc6-dev-powerpc-cross diff --git a/docker/Dockerfile.powerpc64-unknown-linux-gnu b/docker/Dockerfile.powerpc64-unknown-linux-gnu index 70c845cb0..3a21f6724 100644 --- a/docker/Dockerfile.powerpc64-unknown-linux-gnu +++ b/docker/Dockerfile.powerpc64-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-powerpc64-linux-gnu \ libc6-dev-ppc64-cross diff --git a/docker/Dockerfile.powerpc64le-unknown-linux-gnu b/docker/Dockerfile.powerpc64le-unknown-linux-gnu index e6aa1634c..d6e1070d4 100644 --- a/docker/Dockerfile.powerpc64le-unknown-linux-gnu +++ b/docker/Dockerfile.powerpc64le-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-powerpc64le-linux-gnu \ libc6-dev-ppc64el-cross diff --git a/docker/Dockerfile.riscv64gc-unknown-linux-gnu b/docker/Dockerfile.riscv64gc-unknown-linux-gnu index 766ee9d0c..8f1601818 100644 --- a/docker/Dockerfile.riscv64gc-unknown-linux-gnu +++ b/docker/Dockerfile.riscv64gc-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /common.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install -y --no-install-recommends \ +RUN apt-get update && apt-get install -y --no-install-recommends \ g++-riscv64-linux-gnu \ libc6-dev-riscv64-cross diff --git a/docker/Dockerfile.s390x-unknown-linux-gnu b/docker/Dockerfile.s390x-unknown-linux-gnu index c12be7390..ed76c3927 100644 --- a/docker/Dockerfile.s390x-unknown-linux-gnu +++ b/docker/Dockerfile.s390x-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-s390x-linux-gnu \ libc6-dev-s390x-cross diff --git a/docker/Dockerfile.sparc64-unknown-linux-gnu b/docker/Dockerfile.sparc64-unknown-linux-gnu index 254e061de..560efe980 100644 --- a/docker/Dockerfile.sparc64-unknown-linux-gnu +++ b/docker/Dockerfile.sparc64-unknown-linux-gnu @@ -9,7 +9,7 @@ RUN /cmake.sh COPY xargo.sh / RUN /xargo.sh -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ g++-sparc64-linux-gnu \ libc6-dev-sparc64-cross diff --git a/docker/Dockerfile.thumbv6m-none-eabi b/docker/Dockerfile.thumbv6m-none-eabi index 00af0c616..ac8b48e75 100644 --- a/docker/Dockerfile.thumbv6m-none-eabi +++ b/docker/Dockerfile.thumbv6m-none-eabi @@ -10,7 +10,7 @@ COPY xargo.sh / RUN /xargo.sh COPY qemu.sh / -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ gcc-arm-none-eabi \ libnewlib-arm-none-eabi && \ /qemu.sh arm diff --git a/docker/Dockerfile.thumbv7em-none-eabi b/docker/Dockerfile.thumbv7em-none-eabi index cea97bb17..bd7ef97b8 100644 --- a/docker/Dockerfile.thumbv7em-none-eabi +++ b/docker/Dockerfile.thumbv7em-none-eabi @@ -10,7 +10,7 @@ COPY xargo.sh / RUN /xargo.sh COPY qemu.sh / -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ gcc-arm-none-eabi \ libnewlib-arm-none-eabi && \ /qemu.sh arm diff --git a/docker/Dockerfile.thumbv7em-none-eabihf b/docker/Dockerfile.thumbv7em-none-eabihf index f95d94deb..32b5d39bc 100644 --- a/docker/Dockerfile.thumbv7em-none-eabihf +++ b/docker/Dockerfile.thumbv7em-none-eabihf @@ -10,7 +10,7 @@ COPY xargo.sh / RUN /xargo.sh COPY qemu.sh / -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ gcc-arm-none-eabi \ libnewlib-arm-none-eabi && \ /qemu.sh arm diff --git a/docker/Dockerfile.thumbv7m-none-eabi b/docker/Dockerfile.thumbv7m-none-eabi index 24fdb7552..f1326a456 100644 --- a/docker/Dockerfile.thumbv7m-none-eabi +++ b/docker/Dockerfile.thumbv7m-none-eabi @@ -10,7 +10,7 @@ COPY xargo.sh / RUN /xargo.sh COPY qemu.sh / -RUN apt-get install --assume-yes --no-install-recommends \ +RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ gcc-arm-none-eabi \ libnewlib-arm-none-eabi && \ /qemu.sh arm diff --git a/docker/Dockerfile.x86_64-pc-windows-gnu b/docker/Dockerfile.x86_64-pc-windows-gnu index e2095b4d4..3dd7016c0 100644 --- a/docker/Dockerfile.x86_64-pc-windows-gnu +++ b/docker/Dockerfile.x86_64-pc-windows-gnu @@ -16,7 +16,7 @@ RUN dpkg --add-architecture i386 && apt-get update && \ wine32 \ libz-mingw-w64-dev -RUN apt-get install --assume-yes --no-install-recommends g++-mingw-w64-x86-64 +RUN apt-get update && apt-get install --assume-yes --no-install-recommends g++-mingw-w64-x86-64 # run-detectors are responsible for calling the correct interpreter for exe # files. For some reason it does not work inside a docker container (it works