UCL-INGI / INGInious

INGInious is a secure and automated exercises assessment platform using your own tests, also providing a pluggable interface with your existing LMS.
http://www.inginious.org
Other
200 stars 137 forks source link

docker-compose ERROR: The Compose file is invalid because: Service base has neither an image nor a build context specified. At least one must be provided. #1002

Open donnm opened 3 months ago

donnm commented 3 months ago

Describe the bug docker-compose installation instructions fail with error: ERROR: The Compose file is invalid because: Service base has neither an image nor a build context specified. At least one must be provided.

INGInious installation details

To Reproduce Steps to reproduce the behavior:

  1. Clone git clone https://github.com/UCL-INGI/INGInious.git
  2. Run docker-compose up --build
  3. See error

Expected behavior docker-compose should successfully build and start the container.

Desktop (please complete the following information): $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

$ docker --version Docker version 20.10.24+dfsg1, build 297e128

$ docker-compose --version docker-compose version 1.29.2, build unknown

Additional context How to install? instructions contain a typo: $ docker compose up --build Should be: $ docker-compose up --build

nrybowski commented 2 months ago

Hello,

There is a compose plugin making the compose command directly available in the docker CLI.

Does that solve your issue?