bibekjoshisrijan opened a new issue #8868: Docker Build is failing for 
0.16.0-incubating-rc3
URL: https://github.com/apache/incubator-druid/issues/8868
 
 
   Docker build fails when running as instructed in the repository.
   
   ### Version
   0.16.0-incubating-rc3
   
   ### Description
   
   docker build -t apache/incubator-druid:stable -f 
distribution/docker/Dockerfile .
   Sending build context to Docker daemon  61.02MB
   Step 1/18 : FROM maven:3-jdk-8-slim as builder
    ---> 61bd282dfdbc
   Step 2/18 : RUN export DEBIAN_FRONTEND=noninteractive     && apt-get -qq 
update     && apt-get -qq -y install --no-install-recommends python3 
python3-yaml
    ---> Using cache
    ---> 7965a9296990
   Step 3/18 : COPY . /src
    ---> 1f051baf92be
   Step 4/18 : WORKDIR /src
    ---> Running in 66d8b3728a8a
   Removing intermediate container 66d8b3728a8a
    ---> 3f964b49fa05
   Step 5/18 : RUN mvn -B -ff -q dependency:go-offline       install       
-Pdist,bundle-contrib-exts       -DskipTests       -Danimal.sniffer.skip=true   
    -Dcheckstyle.skip=true       -Denforcer.skip=true       
-Dforbiddenapis.skip=true       -Dmaven.javadoc.skip=true       -Dpmd.skip=true 
      -Dspotbugs.skip=true
    ---> Running in 4edd7073d8bf
   Copying legacy consoles in...
   Adding SQL docs...
   Transpiling ReactTable CSS...
     compiled lib/react-table.css
   Webpacking everything...
   Webpack running in production mode
   [BABEL] Note: The code generator has deoptimised the styling of 
/src/web-console/node_modules/brace/index.js as it exceeds the max of 500KB.
   Hash: 64bdfbd029709b2c02c8
   Version: webpack 4.39.2
   Time: 79981ms
   Built at: 11/14/2019 7:53:13 AM
                       Asset      Size  Chunks                    Chunk Names
       web-console-0.16.0.js  2.47 MiB       0  [emitted]  [big]  web-console
   web-console-0.16.0.js.map   7.1 MiB       0  [emitted]         web-console
   Entrypoint web-console [big] = web-console-0.16.0.js 
web-console-0.16.0.js.map
    [10] ./node_modules/@blueprintjs/core/lib/esm/index.js + 93 modules 353 KiB 
{0} [built]
         |    94 modules
    [12] ./src/utils/index.tsx 399 bytes {0} [built]
    [13] ./node_modules/@blueprintjs/icons/lib/esm/index.js + 2 modules 34.4 
KiB {0} [built]
         |    3 modules
    [38] ./src/singletons/toaster.ts 237 bytes {0} [built]
    [39] ./node_modules/react-table/es/index.js + 6 modules 99.2 KiB {0} [built]
         |    7 modules
    [72] ./src/singletons/url-baser.ts 363 bytes {0} [built]
   [121] ./src/variables.ts 930 bytes {0} [built]
   [149] (webpack)/buildin/module.js 552 bytes {0} [built]
   [150] ./lib/sql-docs.js 22.6 KiB {0} [built]
   [259] ./src/entry.ts 2.29 KiB {0} [built]
   [502] ./src/ace-modes/dsql.js 4.16 KiB {0} [built]
   [503] ./src/ace-modes/hjson.js 5.82 KiB {0} [built]
   [504] ./src/bootstrap/react-table-defaults.tsx 1.85 KiB {0} [built]
   [597] ./src/console-application.tsx 12.4 KiB {0} [built]
   [751] ./src/entry.scss 497 bytes {0} [built]
       + 741 hidden modules
   Done! Have a good day.
   Copying web-console files to /src/web-console/target/resources...
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:3.1.1:resolve-plugins 
(resolve-plugins) on project druid-thrift-extensions: 
org.eclipse.aether.resolution.DependencyResolutionException: Could not find 
artifact org.apache.thrift:libthrift:jar:0.5.0-1 in apache.snapshots 
(https://repository.apache.org/snapshots) -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :druid-thrift-extensions
   The command '/bin/sh -c mvn -B -ff -q dependency:go-offline       install    
   -Pdist,bundle-contrib-exts       -DskipTests       
-Danimal.sniffer.skip=true       -Dcheckstyle.skip=true       
-Denforcer.skip=true       -Dforbiddenapis.skip=true       
-Dmaven.javadoc.skip=true       -Dpmd.skip=true       -Dspotbugs.skip=true' 
returned a non-zero code: 1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to