uPortal-Project / uPortal-start

CLI tools for implementing uPortal, beginning with version 5.0.0
Apache License 2.0
19 stars 53 forks source link

Task dockerBuildImageCli fails #588

Open bjagg opened 2 years ago

bjagg commented 2 years ago

Describe the bug ./gradlew dockerBuildImageCli fails

To Reproduce Steps to reproduce the behavior:

  1. ./gradlew dockerBuildImageCli
jonathanmtran commented 2 years ago

What error are you getting when it fails? With a fresh clone of uPortal-start I would get the following

Execution failed for task ':dockerBuildImageCli'.
> Could not build image: COPY failed: file not found in build context or excluded by .dockerignore: stat .gradle/tomcat: file does not exist

I suspect that you need to either portalInit or tomcatInstall tomcatDeploy first before running any Docker tasks