gliderlabs/herokuish

Can't install herokuish from source

Closed this issue · 4 comments

I take following steps for install herokuish from source, and face debian jessie not found issue.

http://dokku.viewdocs.io/dokku/getting-started/upgrading/#upgrade-from-source

My error message:

$ IMAGE_NAME=gliderlabs/herokuish BUILD_TAG=latest VERSION=master make -e build-in-docker

docker build --rm -f Dockerfile.build -t herokuish-build .
Sending build context to Docker daemon  75.26kB
Step 1/4 : FROM golang:1.8.3
 ---> 7e62a8729fa7
 Step 2/4 : ENV DEBIAN_FRONTEND noninteractive
  ---> Running in 5325602d4b3e
  Removing intermediate container 5325602d4b3e
   ---> fbe1011d21bd
   Step 3/4 : RUN apt-get update -qq  && apt-get install -qq -y --force-yes      apt-transport-https      apt-utils      ca-certificates      curl      gnupg2      software-properties-common  && curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add -  && add-apt-repository    "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"
    ---> Running in dfc08e25c29a
    W: Failed to fetch http://deb.debian.org/debian/dists/jessie/InRelease

    W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease

    W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease

    W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Temporary failure resolving 'security.debian.org'

    W: Failed to fetch http://deb.debian.org/debian/dists/jessie/Release.gpg  Temporary failure resolving 'deb.debian.org'

    W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/Release.gpg  Temporary failure resolving 'deb.debian.org'

    W: Some index files failed to download. They have been ignored, or old ones used instead.
    E: Unable to locate package apt-transport-https
    E: Package 'apt-utils' has no installation candidate
    E: Unable to locate package gnupg2
    E: Unable to locate package software-properties-common
    The command '/bin/sh -c apt-get update -qq  && apt-get install -qq -y --force-yes      apt-transport-https      apt-utils      ca-certificates      curl      gnupg2      software-properties-common  && curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add -  && add-apt-repository    "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"' returned a non-zero code: 100
    Makefile:38: recipe for target 'build-in-docker' failed
    make: *** [build-in-docker] Error 100

And take one url to try "http://deb.debian.org/debian/dists/jessie/InRelease"

It is 404 now.

Seems like we'll need to update the base golang:1.8.3 image.

@josegonzalez You're correct, When I update to 1.11.2 with
https://github.com/gliderlabs/herokuish/blob/master/Dockerfile.build

And this issue was gone.

I'm not sure if this issue need keep open, else please close it.

Mind filing a PR with that change?

NP, Just create a quick PR. #399