Open zavorra opened 5 months ago
Hmm, this is likely because of FROM debian:stable
.
We are now on a different version of debian which no longer ships with this package.
You could try and replace stable
with 11
and use the previous stable version instead.
No luck also with debian:11
iorgio@Ulmo:~/mod-sdk$ docker build -t modsdk .
[+] Building 8.9s (6/10) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 475B 0.0s
=> [internal] load metadata for docker.io/library/debian:11 0.6s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [1/6] FROM docker.io/library/debian:11@sha256:2c7a92a41cb814c00e7d455b2bc0c90ccdb9a4ced2ffdc10e562c7a84a186032 0.0s
=> [internal] load build context 6.1s
=> => transferring context: 293.19MB 6.1s
=> ERROR [2/6] RUN apt-get update -qq && apt-get install -y build-essential liblilv-dev phantomjs && apt-get install -y python3-pil python3-pystache python3-tornado python3-pyinotify python3-se 8.2s
------
> [2/6] RUN apt-get update -qq && apt-get install -y build-essential liblilv-dev phantomjs && apt-get install -y python3-pil python3-pystache python3-tornado python3-pyinotify python3-setuptools:
7.217 Reading package lists...
7.654 Building dependency tree...
7.756 Reading state information...
7.776 Package phantomjs is not available, but is referred to by another package.
7.776 This may mean that the package is missing, has been obsoleted, or
7.776 is only available from another source
7.776
7.854 E: Package 'phantomjs' has no installation candidate
------
Dockerfile:3
--------------------
2 |
3 | >>> RUN apt-get update -qq && \
4 | >>> apt-get install -y build-essential liblilv-dev phantomjs && \
5 | >>> apt-get install -y python3-pil python3-pystache python3-tornado python3-pyinotify python3-setuptools
6 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update -qq && apt-get install -y build-essential liblilv-dev phantomjs && apt-get install -y python3-pil python3-pystache python3-tornado python3-pyinotify python3-setuptools" did not complete successfully: exit code: 100
giorgio@Ulmo:~/mod-sdk$
Oops, phantomjs was in debian buster, which is 10
!
I am trying to run mod-sdk both natively (fedora 40) and on docker, but I always get dependency issues