Closed allan-simon closed 7 years ago
Could you tell me which image you were trying to build?
Thanks for the feedback!
I'm trying to build this dockerfile
FROM jfloff/alpine-python:latest-slim
COPY requirements.txt /requirements.txt
COPY my-app/ /my-app
RUN cat /entrypoint.sh
RUN /entrypoint.sh \
-b git \
&& echo
EXPOSE 8888
CMD ["python", "-m" , "cloudgate"
I've pulled the image just now, with the fix for the chmod +x :)
You hit the nail right in the head! That issue is exactly what happening, and I already had that problem the last time I built the images (when I added the latest
tag).
If you check the Dockerfile you can see that first I add the repositories I need to install the packages, then after installing I reset the repositories file by adding tags to the repositories (@edge-main
, etc). I did this exactly due to that bug, but I didn't know that with 0 packages installed from those repositories it would throw an error.
I guess the only way now is to comment out the @edge-main
, @edge-community
and @edge-testing
repositories, and let people deal with that problem (by, e.g. using a strategy similar to mine).
I'll keep an eye on the issue that you linked (thanks for that), and wait for a fix (it has been 28days since it was posted 😞 ).
New latest-slim
image without the edge repositories is built already. Could you check if you still see the same problem?
Thanks in advance!
yes it works , awesome, thanks :)
Thanks for the feedback!
I got the following error: which seems caused by http://bugs.alpinelinux.org/issues/6375 (especially as the date of your last commit and the date of this bug seems related I wouldn't be precised if the issue has appeared a little after your last image push)