Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

make build is broken? #4

@distortedsignal

Description

@distortedsignal

When I do make build, it looks like there are some... challenges... making the container.

Build log:

➜  scratch rm -rf kube-ldap-authn
➜  scratch echo "Cloning..." && echo && git clone https://github.com/torchbox/kube-ldap-authn.git && echo "Entering kube-ldap-authn" && cd kube-ldap-authn && echo && echo "Build torchbox kube-ldap-authn" && echo  && make build
Cloning...

Cloning into 'kube-ldap-authn'...
remote: Enumerating objects: 39, done.
remote: Total 39 (delta 0), reused 0 (delta 0), pack-reused 39
Unpacking objects: 100% (39/39), done.
Entering kube-ldap-authn

Build torchbox kube-ldap-authn

docker build -t torchbox/kube-ldap-authn:latest .
Sending build context to Docker daemon  133.6kB
Step 1/9 : FROM python:3.6.1
 ---> 955d0c3b1bb2
Step 2/9 : RUN apt-get update && apt-get -qy install libldap2-dev libsasl2-dev
 ---> Running in 7c48c873a52d
Ign http://deb.debian.org jessie InRelease
Get:1 http://deb.debian.org jessie-updates InRelease [7340 B]
Get:2 http://security.debian.org jessie/updates InRelease [44.9 kB]
Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [843 kB]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 10.1 MB in 13s (730 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update && apt-get -qy install libldap2-dev libsasl2-dev' returned a non-zero code: 100
make: *** [build] Error 100
➜  kube-ldap-authn git:(master)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions