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 fails #22

Open
bparruck opened this issue Dec 4, 2021 · 0 comments
Open

Docker build fails #22

bparruck opened this issue Dec 4, 2021 · 0 comments

Comments

@bparruck
Copy link

bparruck commented Dec 4, 2021

When I run:
sudo docker build -t insecure-bank .

I get:
Sending build context to Docker daemon 51MB
Step 1/6 : FROM tomcat:9.0-jre11
9.0-jre11: Pulling from library/tomcat
5e0b432e8ba9: Pull complete
a84cfd68b5ce: Pull complete
e8b8f2315954: Pull complete
8a8366ec1118: Pull complete
b62657734d91: Pull complete
54661cc0f489: Pull complete
c2f94a55a0e6: Pull complete
ec180342b811: Pull complete
d40113141195: Pull complete
38b83c931951: Pull complete
Digest: sha256:4c7fef633dccefd620538af4362e0e02e904ef6bb2035e77f30712165a74d920
Status: Downloaded newer image for tomcat:9.0-jre11
---> dc641b3b1bdf
Step 2/6 : MAINTAINER Hdiv Security
---> Running in d4b8d52b4dfa
Removing intermediate container d4b8d52b4dfa
---> 29b7363b56a0
Step 3/6 : ADD target/insecure-bank.war /usr/local/tomcat/webapps
---> c95d309cd561
Step 4/6 : ADD license.hdiv /usr/local/tomcat/hdiv/
ADD failed: file not found in build context or excluded by .dockerignore: stat license.hdiv: file does not exist

Where do I find?
Place Hdiv agent and license in the application root folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant