Netflix-Skunkworks/zerotodocker

File not found

Opened this issue · 0 comments

I trying to build a docker image using this file: https://github.com/Netflix-Skunkworks/zerotodocker/blob/master/eureka/1.3.1/Dockerfile

On step 4: ADD config.properties /tomcat/webapps/eureka/WEB-INF/classes/config.properties, I'm getting an error "ADD failed: stat /var/lib/docker/tmp/docker-builder171196452/config.properties: no such file or directory"

Follow the Dockerfile that I'm building:

Copyright 2014 Netflix, Inc.

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

FROM netflixoss/tomcat:7.0.64
MAINTAINER Netflix Open Source Development talent@netflix.com

RUN cd /tomcat/webapps &&
mkdir eureka &&
cd eureka &&
wget -q http://repo1.maven.org/maven2/com/netflix/eureka/eureka-server/1.3.1/eureka-server-1.3.1.war &&
jar xf eureka-server-1.3.1.war &&
rm eureka-server-1.3.1.war

ADD config.properties /tomcat/webapps/eureka/WEB-INF/classes/config.properties
ADD eureka-client-test.properties /tomcat/webapps/eureka/WEB-INF/classes/eureka-client-test.properties
ADD eureka-server-test.properties /tomcat/webapps/eureka/WEB-INF/classes/eureka-server-test.properties

EXPOSE 8080

ENTRYPOINT ["/tomcat/bin/catalina.sh"]

CMD ["run"]