E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c curl -L -o sbt-$SBT_VERSION.deb http://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb && dpkg -i sbt-$SBT_VERSION.deb && rm sbt-$SBT_VERSION.deb && apt-get update && apt-get install sbt && sbt sbtVersion' returned a non-zero code: 100
Here is the full output when I run: docker build -t euranova/scala-sbt .
Sending build context to Docker daemon 17.92kB Step 1/4 : FROM java:8 ---> d23bdf5b1b1b Step 2/4 : ENV SBT_VERSION 0.13.12 ---> Using cache ---> 1fc7ad0d14ac Step 3/4 : RUN curl -L -o sbt-$SBT_VERSION.deb http://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb && dpkg -i sbt-$SBT_VERSION.deb && rm sbt-$SBT_VERSION.deb && apt-get update && apt-get install sbt && sbt sbtVersion ---> Running in 910d7f320658 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1010k 100 1010k 0 0 4170k 0 --:--:-- --:--:-- --:--:-- 4170k Selecting previously unselected package sbt. (Reading database ... 17571 files and directories currently installed.) Preparing to unpack sbt-0.13.12.deb ... Unpacking sbt (0.13.12) ... Setting up sbt (0.13.12) ... Ign http://deb.debian.org jessie InRelease Get:1 http://deb.debian.org jessie-updates InRelease [16.3 kB] Get:2 http://security.debian.org jessie/updates InRelease [44.9 kB] Ign http://deb.debian.org jessie-backports InRelease Get:3 http://deb.debian.org jessie Release.gpg [1652 B] Ign http://deb.debian.org jessie-backports Release.gpg Get:4 http://deb.debian.org jessie Release [77.3 kB] Ign http://deb.debian.org jessie-backports Release Err http://deb.debian.org jessie-backports/main amd64 Packages
Err http://deb.debian.org jessie-backports/main amd64 Packages
Err http://deb.debian.org jessie-backports/main amd64 Packages
Err http://deb.debian.org jessie-backports/main amd64 Packages
Err http://deb.debian.org jessie-backports/main amd64 Packages 404 Not Found Get:5 http://deb.debian.org jessie-updates/main amd64 Packages [20 B] Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB] Get:7 http://security.debian.org jessie/updates/main amd64 Packages [889 kB] Fetched 10.1 MB in 8s (1240 kB/s) W: There is no public key available for the following key IDs: AA8E81B4331F7F50 W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead. The command '/bin/sh -c curl -L -o sbt-$SBT_VERSION.deb http://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb && dpkg -i sbt-$SBT_VERSION.deb && rm sbt-$SBT_VERSION.deb && apt-get update && apt-get install sbt && sbt sbtVersion' returned a non-zero code: 100