Live data from Hacker News

Docker Hub Official Repos: Announcing Language Stacks

blog.docker.com

11–20 of 30 posts

Re: Docker Hub Official Repos: Announcing Language Stacks

#11
post #8

I'm very happy to see Hy language among the official repos! I think more people should know about it.

For people not aware, "Hy transforms its Lisp code into the Python Abstract Syntax Tree"[0].

[0]: http://hy.readthedocs.org/en/latest/index.html

Re: Docker Hub Official Repos: Announcing Language Stacks

#12
post #9

Earlier quoted context omitted.

Taking that a step further - why not a busybox image to get even smaller?

How would you install the build dependencies with busybox? Go requires some packages to build, from the Dockerfile: apt-get install -y ca-certificates curl gcc libc6-dev bzr git mercurial

[deleted]

Re: Docker Hub Official Repos: Announcing Language Stacks

#13
post #9

Earlier quoted context omitted.

Taking that a step further - why not a busybox image to get even smaller?

How would you install the build dependencies with busybox? Go requires some packages to build, from the Dockerfile: apt-get install -y ca-certificates curl gcc libc6-dev bzr git mercurial

It's possible to install another package manager like opkg. See https://github.com/progrium/busybox

Re: Docker Hub Official Repos: Announcing Language Stacks

#14
Maybe I'm missing something here but I don't see this as being particularly useful?

It's a nice quick way to get an application running in Docker but realistically would you want to be depending upon these images in production?

The power I see in Docker is the ability to create portable images that contain everything my application needs. I don't want to depend upon Docker (the company) to figure out what these images should look like.

Am I looking at this the wrong way?

Re: Docker Hub Official Repos: Announcing Language Stacks

#15
post #14

Maybe I'm missing something here but I don't see this as being particularly useful? It's a nice quick way to get an application running in Docker but realistically would you want to be depending upon these images in production? The power I see in Docker is the ability to create portable images that contain everything my application needs. I don't want to depend upon Docker (the company) to figure out what these image…

If the Dockerfiles were available, I would feel better about it. Just glancing around I couldn't find the stacks Dockerfiles, so not sure those are available.

Re: Docker Hub Official Repos: Announcing Language Stacks

#16
post #13
post #9

Earlier quoted context omitted.

How would you install the build dependencies with busybox? Go requires some packages to build, from the Dockerfile: apt-get install -y ca-certificates curl gcc libc6-dev bzr git mercurial

It's possible to install another package manager like opkg. See https://github.com/progrium/busybox

right, that would be an option, if opkg had packages for python mercurial or bzr. (those are needed for go get to work). Don't see those in http://downloads.openwrt.org/snapshots/trunk/x86_64/packages...

Re: Docker Hub Official Repos: Announcing Language Stacks

#17
post #14

Maybe I'm missing something here but I don't see this as being particularly useful? It's a nice quick way to get an application running in Docker but realistically would you want to be depending upon these images in production? The power I see in Docker is the ability to create portable images that contain everything my application needs. I don't want to depend upon Docker (the company) to figure out what these image…

If the Dockerfiles were available, I would feel better about it. Just glancing around I couldn't find the stacks Dockerfiles, so not sure those are available.

I think they're here: https://github.com/docker-library

Re: Docker Hub Official Repos: Announcing Language Stacks

#18
post #14

Maybe I'm missing something here but I don't see this as being particularly useful? It's a nice quick way to get an application running in Docker but realistically would you want to be depending upon these images in production? The power I see in Docker is the ability to create portable images that contain everything my application needs. I don't want to depend upon Docker (the company) to figure out what these image…

I understand where you're coming from. At first glance I thought it would be the return of the dreaded virtual appliance giving people no clue on how developer X got to end result Y.

However, this is not that. Docker simply gives more emphasis to officially maintained docker images of popular projects, all of which have Dockerfiles available for your inspection!

Re: Docker Hub Official Repos: Announcing Language Stacks

#20
post #5
post #4

Earlier quoted context omitted.

Note that the image maintainers (starting with tianon above) reserve the right to change the base distro they use for the images. So they can truly use the best tool for the job, now and in the future.

Changing the distro underneath would break all other Dockerfiles that assume they are running on a certain distro. How do we have to deal with cases when the distro is switched from debian to centos for example?.

If you don't want things to get broken further down the line, you should use tags. It's the same with any dependency.
Post reply on HN