Code Monkey home page Code Monkey logo

docker-cookbooks's Introduction

docker-cookbooks's People

Contributors

frankscholten avatar krijger avatar lukaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-cookbooks's Issues

jdk7-oracle (and potentially others) should apt-get update before apt-get install python-software-properties

The version of this package in the apt-caches in the image is not available any more for ubuntu, the line should probably read:

RUN apt-get update && apt-get -y install python-software-properties

to ensure that the latest version of this package is installed.

The following files are affected: https://github.com/Krijger/docker-cookbooks/search?utf8=%E2%9C%93&q=python-software-properties

Similar issues exist for other apt-get install steps in the following Dockerfiles

  • docpad
  • firefox-jenkins-slave
  • tomcat7
  • dind-jenkins-slave
  • mongo

Download jdk-7u51-linux-x64.tar.gz failed

I try to build the container, and it fails on downloading JDK.

thanks for your help

here are some logs :

Setting up oracle-java7-installer (7u51-0~webupd8~1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Downloading Oracle Java 7...
--2014-03-15 17:23:21--  http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz

connected.
302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz [following]
--2014-03-15 17:23:21--  https://edelivery.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz

connected.
302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2014-03-15 17:23:22--  http://download.oracle.com/errors/download-fail-1505220.html
connected.
200 OK
 [text/html]
Saving to: `jdk-7u51-linux-x64.tar.gz'            100%  354M=0s

2014-03-15 17:23:22 (354 MB/s) - `jdk-7u51-linux-x64.tar.gz' saved [5307/5307]

Download done.
Removing outdated cached downloads...
sha256sum mismatch jdk-7u51-linux-x64.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
 subprocess installed post-installation script returned error exit status 1

jdk7-oracle - JAVA_HOME not set.

JAVA_HOME is added to /etc/environment but it has no effect when running a shell on the jdk7-oracle container. Let's add JAVA_HOME to .bashrc

build_all.sh script fails - 'The following packages have unmet dependencies'

Removed all my images locally and ran the build_all.sh script.

frank@franktop:~/Desktop/docker-cookbooks$ ./build_all.sh 
+ cd supervisor
+ docker build -t quintenk/supervisor .
Uploading context 7.168 kB
Uploading context 
Step 0 : FROM ubuntu:12.04
Pulling repository ubuntu
70521a9bbf1b: Download complete 
511136ea3c5a: Download complete 
95de5cf25812: Download complete 
785bb334467e: Download complete 
84e884bae354: Download complete 
 ---> 70521a9bbf1b
Step 1 : MAINTAINER Quinten Krijger "https://github.com/Krijger"
 ---> Running in 4ffd5cf9279b
 ---> 68150fc42823
Step 2 : RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
 ---> Running in f80be9b67a8a
 ---> a1b0bfe6ae05
Step 3 : RUN apt-get update
 ---> Running in 38c451765437
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Reading package lists...
 ---> f43c346c5aad
Step 4 : RUN apt-get -y upgrade
 ---> Running in 67a644e9dd13
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 ---> 7aeff685d991
Step 5 : RUN apt-get -y install python-setuptools
 ---> Running in ef0b8d6ff325
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-setuptools : Depends: python (>= 2.6) but it is not going to be installed
                     Depends: python (< 2.8) but it is not going to be installed
                     Depends: python-pkg-resources (= 0.6.24-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
2014/05/29 13:32:53 The command [/bin/sh -c apt-get -y install python-setuptools] returned a non-zero code: 100

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.