Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build fail #19

Open
LeFl0w opened this issue Oct 8, 2020 · 0 comments
Open

docker build fail #19

LeFl0w opened this issue Oct 8, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@LeFl0w
Copy link

LeFl0w commented Oct 8, 2020

Describe the bug

The docker build of the image fail due to a missing version of g++ and libzarith-ocaml-dev in the repository.

To reproduce

Steps to reproduce the behavior.

  1. execute command : docker build -t lequal/sonar-scanner .

Expected behavior

The creation of the image shoud ran without any problem.

Possible fix

The error comes from Dockerfile line 201 and 208.
Removing version dependy could fix the issue . From :

apt-get install -y --no-install-recommends \
....
            libzarith-ocaml=1.9.1-* \
...
            gcc=4:10.1.0-* 

To:

apt-get install -y libzarith-ocaml g\+\+\

Screenshots & log

Get:10 http://deb.debian.org/debian buster-updates/main amd64 Packages [7868 B]
Fetched 16.3 MB in 31s (520 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '4:10.1.0-*' for 'g++' was not found
E: Version '1.9.1-*' for 'libzarith-ocaml-dev' was not found
The command '/bin/sh -c echo 'deb http://ftp.fr.debian.org/debian/ bullseye main contrib non-free' >> /etc/apt/sources.list     && apt-get update     && apt-get install -y --no-install-recom

User environment

  • OS: windows 10
@LeFl0w LeFl0w added the bug Something isn't working label Oct 8, 2020
This was referenced Oct 19, 2020
@begarco begarco added this to the 1.1.0 milestone Nov 3, 2020
@diegorodriguez31 diegorodriguez31 mentioned this issue Sep 15, 2021
12 tasks
@diegorodriguez31 diegorodriguez31 removed this from the 1.1.0 milestone Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants