Project

General

Profile

Bug #21900

Updated by Alexis Mousset about 2 years ago

<pre> 
 [2022-10-04T00:42:58.475Z] + docker build -t f9d31690f50296f2d7dee9d64f1c540f09a31ee8 --build-arg USER_ID=1007 --build-arg JDK_VERSION=17 -f webapp/sources/Dockerfile . 
 [2022-10-04T00:42:59.080Z] Sending build context to Docker daemon    118.7MB 
 [2022-10-04T00:42:59.081Z] Step 1/11 : ARG JDK_VERSION=11 
 [2022-10-04T00:42:59.081Z] Step 2/11 : FROM maven:3-openjdk-${JDK_VERSION} 
 [2022-10-04T00:42:59.081Z]    ---> db741528e48a 
 [2022-10-04T00:42:59.081Z] Step 3/11 : ARG USER_ID=1000 
 [2022-10-04T00:42:59.081Z]    ---> Using cache 
 [2022-10-04T00:42:59.081Z]    ---> cd66f387a706 
 [2022-10-04T00:42:59.081Z] Step 4/11 : COPY ci/user.sh . 
 [2022-10-04T00:42:59.081Z]    ---> Using cache 
 [2022-10-04T00:42:59.081Z]    ---> a2a18de3f683 
 [2022-10-04T00:42:59.081Z] Step 5/11 : RUN ./user.sh $USER_ID 
 [2022-10-04T00:42:59.081Z]    ---> Using cache 
 [2022-10-04T00:42:59.081Z]    ---> cc938455e683 
 [2022-10-04T00:42:59.081Z] Step 6/11 : RUN curl -L -o elm.gz "https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz" 
 [2022-10-04T00:42:59.081Z]    ---> Using cache 
 [2022-10-04T00:42:59.081Z]    ---> cdfd73225953 
 [2022-10-04T00:42:59.081Z] Step 7/11 : RUN gzip -d elm.gz 
 [2022-10-04T00:42:59.081Z]    ---> Using cache 
 [2022-10-04T00:42:59.081Z]    ---> ec1e4b49c9da 
 [2022-10-04T00:42:59.081Z] Step 8/11 : RUN chmod +x elm 
 [2022-10-04T00:42:59.081Z]    ---> Using cache 
 [2022-10-04T00:42:59.081Z]    ---> 027fe83895b5 
 [2022-10-04T00:42:59.081Z] Step 9/11 : RUN mv elm /usr/local/bin/elm-0.19.1 
 [2022-10-04T00:42:59.081Z]    ---> Using cache 
 [2022-10-04T00:42:59.081Z]    ---> 63f864939ae1 
 [2022-10-04T00:42:59.081Z] Step 10/11 : RUN apt-get update && apt-get install -y npm 
 [2022-10-04T00:42:59.081Z]    ---> Running in c5bf3e9e3c61 
 [2022-10-04T00:42:59.081Z] /bin/sh: apt-get: command not found 
 [2022-10-04T00:42:59.368Z] The command '/bin/sh -c apt-get update && apt-get install -y npm' returned a non-zero code: 127 
 script returned exit code 127 
 </pre> 

 the openjdk container has switched to oracle linux 8, we need to find a debian-based one.

Back