Lujeni / matterllo

Simple integration between Trello and Mattermost: send Trello activity notifications to Mattermost channels
MIT License
86 stars 25 forks source link

can't build docker image #55

Closed masterkain closed 3 years ago

masterkain commented 5 years ago
kain@kain-osx-qemu matterllo-master % docker build -t matterllo .
Sending build context to Docker daemon  4.366MB
Step 1/9 : FROM python:2
2: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2
 ---> abc2716d03e0
Step 2/9 : RUN mkdir -p /usr/src/app
 ---> Running in 30543de93a9c
Removing intermediate container 30543de93a9c
 ---> 5cdfde2f440c
Step 3/9 : WORKDIR /usr/src/app
 ---> Running in 738993eaac0b
Removing intermediate container 738993eaac0b
 ---> 395ba2d2ac6f
Step 4/9 : COPY requirements_base.txt /usr/src/app
 ---> bd42c74033df
Step 5/9 : RUN pip install --no-cache-dir -r requirements_base.txt
 ---> Running in e29b1bd36204
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting astroid==1.6.0
  Downloading https://files.pythonhosted.org/packages/20/df/b230d15af5eadddeda595a5ceac2d51273f3df21ad207e27e346dc384ce2/astroid-1.6.0-py2.py3-none-any.whl (288kB)
Collecting certifi==2019.3.9
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
Collecting chardet==3.0.4
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
ERROR: Could not find a version that satisfies the requirement Django==2.0.13 (from -r requirements_base.txt (line 4)) (from versions: 1.1.3, 1.1.4, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 1.4.14, 1.4.15, 1.4.16, 1.4.17, 1.4.18, 1.4.19, 1.4.20, 1.4.21, 1.4.22, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.6.11, 1.7, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.7.11, 1.8a1, 1.8b1, 1.8b2, 1.8rc1, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.8.10, 1.8.11, 1.8.12, 1.8.13, 1.8.14, 1.8.15, 1.8.16, 1.8.17, 1.8.18, 1.8.19, 1.9a1, 1.9b1, 1.9rc1, 1.9rc2, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 1.9.9, 1.9.10, 1.9.11, 1.9.12, 1.9.13, 1.10a1, 1.10b1, 1.10rc1, 1.10, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.10.6, 1.10.7, 1.10.8, 1.11a1, 1.11b1, 1.11rc1, 1.11, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.11.6, 1.11.7, 1.11.8, 1.11.9, 1.11.10, 1.11.11, 1.11.12, 1.11.13, 1.11.14, 1.11.15, 1.11.16, 1.11.17, 1.11.18, 1.11.20, 1.11.21, 1.11.22, 1.11.23, 1.11.24, 1.11.25, 1.11.26)
ERROR: No matching distribution found for Django==2.0.13 (from -r requirements_base.txt (line 4))
The command '/bin/sh -c pip install --no-cache-dir -r requirements_base.txt' returned a non-zero code: 1
masterkain commented 5 years ago

https://stackoverflow.com/a/48932604

juicycool92 commented 4 years ago

https://stackoverflow.com/a/48932604

Hello, im quite newbie of docker. can you describe a bit more?

i read your above link, but im confuse, which os do i install newest version of pip? a host OS? or container?

Lujeni commented 3 years ago

@masterkain Hello Thanks for your issue and sorry for the delay.

I did few refactoring this week, you can run

make build

Feel free to reopen this issues if not.