Skip to content

[wip] add Indigo Saucy docker image. - #42

Closed
130s wants to merge 1 commit into
osrf:masterfrom
130s:i/add/saucy
Closed

130s wants to merge 1 commit into
osrf:masterfrom
130s:i/add/saucy

Conversation

@130s

@130s 130s commented Dec 29, 2016 •

Copy link
Copy Markdown

DO NOT MERGE.

I tried to create Ubuntu Saucy image because some Saucy specific issues have risen (e.g. moveit/moveit1#389). But due to missing Saucy folders in http://archive.ubuntu.com/ubuntu/ I had to give up. The following is the full output on commandline using this PR.

Closing because I won't work on this.

Also, looks like other Dockerfile were auto-generated by create_dockerfiles.py, which results in the following error on my computer.

$ ./create_dockerfiles.py 
Traceback (most recent call last):
  File "./create_dockerfiles.py", line 5, in <module>
    import yaml
ImportError: No module named 'yaml'
$ lsb_release  -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty
$ python3 --version
Python 3.4.3
$ docker build -t ros-indigo-saucy-core .
Sending build context to Docker daemon  5.12 kB
Step 1 : FROM ubuntu:saucy
 ---> 7f020f7bf345
Step 2 : MAINTAINER Tully Foote [email protected]
 ---> Using cache
 ---> f190cddb9ee6
Step 3 : RUN locale-gen en_US.UTF-8
 ---> Using cache
 ---> 3e44b9e82252
Step 4 : ENV LANG en_US.UTF-8
 ---> Using cache
 ---> 44c69487e03d
Step 5 : RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 421C365BD9FF1F717815A3895523BAEEB01FA116
 ---> Using cache
 ---> cb555bcafac5
Step 6 : RUN echo "deb http://packages.ros.org/ros/ubuntu saucy main" > /etc/apt/sources.list.d/ros-latest.list
 ---> Using cache
 ---> 1841004ad5c8
Step 7 : RUN mv /etc/apt/sources.list /etc/apt/sources.list.bk
 ---> Running in 58e9d0aa976e
 ---> 291cd97a3f21
Removing intermediate container 58e9d0aa976e
Step 8 : RUN apt-get update
 ---> Running in c41eda7bd404
Get:1 http://packages.ros.org saucy InRelease [4,009 B]
Get:2 http://packages.ros.org saucy/main amd64 Packages [523 kB]
Fetched 527 kB in 0s (1,043 kB/s)
Reading package lists...
 ---> 2d2c82c1b514
Removing intermediate container c41eda7bd404
Step 9 : RUN apt-get install --no-install-recommends -y     python-rosdep     python-rosinstall     python-vcstools     && rm -rf /var/lib/apt/lists/*
 ---> Running in 7d8ea1b631b7
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-rosdep : Depends: python (>= 2.7) but it is not installable
                 Depends: python (< 2.8) but it is not installable
                 Depends: python (>= 2.7.1-0ubuntu2) but it is not installable
                 Depends: python-catkin-pkg but it is not going to be installed
                 Depends: python-rospkg (>= 1.0.37) but it is not going to be installed
                 Depends: python-rosdistro (>= 0.4.0) but it is not going to be installed
                 Depends: python-yaml but it is not installable
                 Depends: ca-certificates but it is not installable
 python-rosinstall : Depends: python (>= 2.7) but it is not installable
                     Depends: python (< 2.8) but it is not installable
                     Depends: python (>= 2.7.1-0ubuntu2) but it is not installable
                     Depends: python-yaml but it is not installable
                     Depends: python-rosdistro (>= 0.3.0) but it is not going to be installed
                     Depends: python-catkin-pkg but it is not going to be installed
                     Depends: python-wstool (>= 0.1.12) but it is not going to be installed
                     Depends: subversion but it is not installable
                     Depends: mercurial but it is not installable
                     Depends: git-core but it is not installable
                     Depends: bzr but it is not installable
 python-vcstools : Depends: python (>= 2.7) but it is not installable
                   Depends: python (< 2.8) but it is not installable
                   Depends: python-yaml but it is not installable
                   Depends: python-dateutil but it is not installable
                   Depends: subversion but it is not installable
                   Depends: mercurial but it is not installable
                   Depends: git-core but it is not installable
                   Depends: bzr but it is not installable
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get install --no-install-recommends -y     python-rosdep     python-rosinstall     python-vcstools     && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

@130s 130s closed this Dec 29, 2016
@130s
130s deleted the i/add/saucy branch December 29, 2016 23:24
@130s
130s restored the i/add/saucy branch December 29, 2016 23:24
@130s

130s commented Dec 29, 2016

Copy link
Copy Markdown
Author

@130s 130s reopened this Dec 29, 2016
@tfoote

tfoote commented Dec 29, 2016

Copy link
Copy Markdown
Contributor

Note for EOL'd releases they eventually move from archive.ubuntu.com to old-releases.ubuntu.com see https://help.ubuntu.com/community/EOLUpgrades/ you just need to change the sources.list to the new url for it to work.

@130s

130s commented Dec 30, 2016

Copy link
Copy Markdown
Author

Yes, now using old-releases.ubuntu.com and the docker image is built fine.
Please review. @tfoote @ruffsl

@ruffsl

ruffsl commented Dec 30, 2016 •

Copy link
Copy Markdown
Member

I am unsure how to track or structure Dockerfiles for ROS distros built on top of Ubuntu releases other than the LTS they originally shipped with. This repo currently houses mainly auto generated Dockerfiles, and for security reasons it may not be wise to start shipping non LTS Ubuntu images, let alone EOL'd releases.

Templates and options to specify all the old-releases > sources.list stuff programmatically would still be useful, helping users auto generate dockerfiles for legacy software and CI as needed.

@mikaelarguedas

Copy link
Copy Markdown
Contributor

@130s was this PR meant to fix CI for EOL distro that the ROS buildfarm was still building binaries for ?
Is this still needed now that the buildfarm doesn't build EOL distros anymore ?
If not I'd rather not ship EOL images to follow up on @ruffsl remark:

and for security reasons it may not be wise to start shipping non LTS Ubuntu images, let alone EOL'd releases.

@130s

130s commented May 26, 2017

Copy link
Copy Markdown
Author

Yes closing PR because it sounds like to me generating secure images programatically #42 (comment) and less necessity for the EOL distros now #42 (comment).

@130s 130s closed this May 26, 2017
@130s
130s deleted the i/add/saucy branch May 26, 2017 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants