Is it archiving issue?

14 views
Skip to first unread message

Abhijit Bhattacharyya

unread,
Jun 12, 2017, 5:42:25 AM6/12/17
to passenger-docker

I wanted to get java following [dockerized java tutorial](https://runnable.com/docker/java/dockerize-your-java-application) for phusion-baseimage-docker:0.9.22. I find following error

vega@Aditya:~/NetBeansProjects/EXFOR_Docker> docker build -f Dockerfile -t vega/oracle-java:8 .
Sending build context to Docker daemon 764.9 kB
Step 1 : FROM phusion/baseimage:0.9.22
 
---> 877509368a8d
Step 2 : MAINTAINER Abhijit Bhattacharyya<abhihere@gmail.com>
 
---> Running in 2526573fec0b
 
---> 77d95c3fffc9
Removing intermediate container 2526573fec0b
Step 3 : RUN echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" > /etc/apt/sources.list
 
---> Running in 26b0420445aa
 
---> 7053e3043681
Removing intermediate container 26b0420445aa
Step 4 : RUN apt-get -y update
 
---> Running in 11b65ae1cdbb

Err:1 http://archive.ubuntu.com/ubuntu trusty InRelease
 
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists...
W
: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W
: Some index files failed to download. They have been ignored, or old ones used instead.
 
---> f1f5c68c6852
Removing intermediate container 11b65ae1cdbb
Step 5 : RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q python-software-properties software-properties-common
 
---> Running in aa676dd79f97
Reading package lists...
Building dependency tree...
Reading state information...
Package python-software-properties is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  software
-properties-common

E
: Package 'python-software-properties' has no installation candidate
The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -q python-software-properties software-properties-common' returned a non-zero code: 100
vega@Aditya
:~/NetBeansProjects/EXFOR_Docker>


Please advise me, if possible.
Thanks and Regards
Abhijit Bhattacharyya




Reply all
Reply to author
Forward
0 new messages