Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ubuntu images with ubuntu-minimal and apt-cache translations exclusion #14

Merged
merged 1 commit into from
Dec 20, 2013
Merged

Conversation

tianon
Copy link
Member

@tianon tianon commented Dec 20, 2013

So this update is actually two-fold. It includes the same new "Translations" exclusions from the debian images (and the fix to keep us from growing 40MB on the first "apt-get update"), but it also includes ubuntu-minimal, since we're legally required to include that metapackage and its deps to call this image "ubuntu". It moves our image size to be around 120-140 MB (from the sparse roughly 100 MB it is now), but that's a necessary evil since we'd like to have Ubuntu. :)

@shin-
Copy link
Contributor

shin- commented Dec 20, 2013

Did you get to test the build with brew-cli?

@tianon
Copy link
Member Author

tianon commented Dec 20, 2013

Just did! Working like a champ:

$ ./brew-cli git://github.com/tianon/brew.git -b ubuntu-minimal --targets ubuntu
2013-12-20 08:40:31,953 INFO Cloning docker repo from git://github.com/tianon/brew.git, branch: ubuntu-minimal
2013-12-20 08:41:23,848 INFO Cloning git://github.com/tianon/docker-brew-ubuntu (ref: ba833691e33f5b671adb90a4c53676ad16ba8302)
2013-12-20 08:42:11,069 INFO Building using dockerfile...
2013-12-20 08:43:14,086 INFO Committing to library/ubuntu:latest
2013-12-20 08:43:17,108 INFO This ref has already been built, reusing image ID
2013-12-20 08:43:17,108 INFO Committing to library/ubuntu:precise
2013-12-20 08:43:20,171 INFO This ref has already been built, reusing image ID
2013-12-20 08:43:20,171 INFO Committing to library/ubuntu:12.04
2013-12-20 08:43:22,020 INFO Cloning git://github.com/tianon/docker-brew-ubuntu (ref: 2f3eca8ff6f9d40603812cd141d4240d9f32e54c)
2013-12-20 08:43:22,375 INFO Building using dockerfile...
2013-12-20 08:43:35,624 INFO Committing to library/ubuntu:quantal
2013-12-20 08:43:37,427 INFO This ref has already been built, reusing image ID
2013-12-20 08:43:37,427 INFO Committing to library/ubuntu:12.10
2013-12-20 08:43:39,180 INFO Cloning git://github.com/tianon/docker-brew-ubuntu (ref: d71d3f2b1bebbdde9ee4a538bc4a0fdd564b304a)
2013-12-20 08:43:39,496 INFO Building using dockerfile...
2013-12-20 08:43:53,223 INFO Committing to library/ubuntu:raring
2013-12-20 08:43:55,299 INFO This ref has already been built, reusing image ID
2013-12-20 08:43:55,299 INFO Committing to library/ubuntu:13.04
2013-12-20 08:43:57,229 INFO Cloning git://github.com/tianon/docker-brew-ubuntu (ref: c6343e95cc7543f10ed8cb9d1b3cff4ccba372cc)
2013-12-20 08:43:57,552 INFO Building using dockerfile...
2013-12-20 08:44:11,392 INFO Committing to library/ubuntu:saucy
2013-12-20 08:44:13,458 INFO This ref has already been built, reusing image ID
2013-12-20 08:44:13,458 INFO Committing to library/ubuntu:13.10
2013-12-20 08:44:13,472 INFO BREW BUILD SUMMARY
-------------------------------------------------------------
OVERALL SUCCESS: True
-------------------------------------------------------------
ubuntu
-------------------------------------------------------------
 3 | OK | fbb880184bda                                      
 2 | OK | fbb880184bda                                      
12 | OK | 45b51502c1b3                                      
 9 | OK | 81216a12554b                                      
11 | OK | 45b51502c1b3                                      
 5 | OK | 2a5d8ca624f9                                      
 6 | OK | 2a5d8ca624f9                                      
 1 | OK | fbb880184bda                                      
 8 | OK | 81216a12554b                                      
-------------------------------------------------------------

$ docker images library/ubuntu
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
library/ubuntu      saucy               45b51502c1b3        2 minutes ago       148.8 MB
library/ubuntu      13.10               45b51502c1b3        2 minutes ago       148.8 MB
library/ubuntu      raring              81216a12554b        3 minutes ago       137.3 MB
library/ubuntu      13.04               81216a12554b        3 minutes ago       137.3 MB
library/ubuntu      12.10               2a5d8ca624f9        3 minutes ago       127.9 MB
library/ubuntu      quantal             2a5d8ca624f9        3 minutes ago       127.9 MB
library/ubuntu      12.04               fbb880184bda        3 minutes ago       126.2 MB
library/ubuntu      precise             fbb880184bda        3 minutes ago       126.2 MB
library/ubuntu      latest              fbb880184bda        3 minutes ago       126.2 MB

shin- added a commit that referenced this pull request Dec 20, 2013
Update ubuntu images with ubuntu-minimal and apt-cache translations exclusion
@shin- shin- merged commit e785e33 into docker-library:master Dec 20, 2013
@tianon tianon deleted the ubuntu-minimal branch December 20, 2013 15:50
@shin-
Copy link
Contributor

shin- commented Dec 20, 2013

Thanks!

HarikrishnanBalagopal pushed a commit to HarikrishnanBalagopal/official-images that referenced this pull request Mar 20, 2023
legolaz8451 pushed a commit to legolaz8451/official-images that referenced this pull request Mar 14, 2024
Added check with dummy `numactl --interleave=all true` test command
to ensure that:
- kernel/host is numa-enabled,
- `--interleave=all` policy is present (I think, it should be present
  always, but didn't checked that).

Fixes docker-library#14.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants