It is debian:latest with my modification. My problem is
$ sed command always fails. I think my regex code getting nesty with Dockerfile. It runs fine inside a container.
As you can see on my uncomments, I need to use /bin/bash -c method, because the default RUN (/bin/sh) always fails.
Here is the console log part:
Step 4 : RUN ["/bin/bash", "-c", "sed -i '/^deb http\:\/\/httpredir\.debian\.org\/debian jessie\smain$\|^deb http\:\/\/httpredir\.debian\.org\/debian jessie\-updates\smain$\|^deb http\:\/\/security\.debian\.org jessie\/updates main$/d' /etc/apt/sources.list"]
---> Running in 33a7267fdaeb
/bin/sh: 1: [/bin/bash,: not found
Removing intermediate container 33a7267fdaeb
INFO[0002] The command [/bin/sh -c ["/bin/bash", "-c", "sed -i '/^deb http\:\/\/httpredir\.debian\.org\/debian jessie\smain$\|^deb http\:\/\/httpredir\.debian\.org\/debian jessie\-updates\smain$\|^deb http\:\/\/security\.debian\.org jessie\/updates main$/d' /etc/apt/sources.list"]] returned a non-zero code: 127