alexisrolland / blender-docker

Repository example to run Blender in a Docker container.
MIT License
11 stars 3 forks source link

Build failing in apt-get curl... #2

Open jamestomk opened 1 year ago

jamestomk commented 1 year ago

I am getting a build failing in locating the following packages. Would this build still be current?

[ 3/12] RUN apt-get install -y curl libfreetype6 libglu1-mesa libxi6 libxrender1 xz-utils:

5 0.401 Reading package lists...

5 0.410 Building dependency tree...

5 0.410 Reading state information...

5 0.412 Package xz-utils is not available, but is referred to by another package.

5 0.412 This may mean that the package is missing, has been obsoleted, or

5 0.412 is only available from another source

5 0.412

5 0.412 E: Unable to locate package curl

5 0.412 E: Unable to locate package libfreetype6

5 0.412 E: Unable to locate package libglu1-mesa

5 0.412 E: Unable to locate package libxi6

5 0.412 E: Unable to locate package libxrender1

5 0.412 E: Package 'xz-utils' has no installation candidate


executor failed running [/bin/sh -c apt-get install -y curl libfreetype6 libglu1-mesa libxi6 libxrender1 xz-utils]: exit code: 100 ERROR: Service 'blender' failed to build : Build failed

vitorbarbosa123 commented 11 months ago

Remove the proxy config # Config proxy server ENV http_proxy=http://proxy.ubisoft.org:3128 https_proxy=http://proxy.ubisoft.org:3128 ENV no_proxy=10.0.0.0/8,192.168.0.0/16,172.16.0.0/12,localhost,127.0.0.1,.ubisoft.org,.ubisoft.onbe,.ubisoft.com and run apt-get update in the same RUN command so old or invalid apt metadata are not cached in layer by Docker: RUN apt-get update && apt-get install -y \ curl \ libfreetype6 \ libglu1-mesa \ libxi6 \ libxrender1 \ xz-utils