Closed BaskerShu closed 5 years ago
In chapter, when build tomcat7, unable to locate package tomcat7
Step 1/14 : FROM ubuntu:18.04 ---> 47b19964fb50 Step 2/14 : MAINTAINER ---> Using cache ---> 1b8cd62dfcd1 Step 3/14 : ENV freshed_at 2019-03-14 ---> Using cache ---> e9d521c19bbb Step 4/14 : RUN apt-get -qq update ---> Using cache ---> 64f89f7b9605 Step 5/14 : RUN apt-get -qq install tomcat7 default-jdk ---> Running in 6e473c92c9c5 E: Unable to locate package tomcat7 The command '/bin/sh -c apt-get -qq install tomcat7 default-jdk' returned a non-zero code: 100
when change ubuntu18.04 to ubuntu14.04 ,everything is ok
tomcat7 should be tomcat8 - I suspect you've got an older version of the code. The code in this repo is updated.
In chapter, when build tomcat7, unable to locate package tomcat7