Skip to content

Docker build fails #22

Description

@bparruck

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions