Comments (5)
We just consume the Ubuntu Core builds as-is here, so the 12.04 build has the i386 architecture added already, but the 14.04 and 15.04 builds do not. Adding it is really simple, though:
FROM ubuntu:14.04
RUN dpkg --add-architecture i386
RUN apt-get update && apt-get install -y libc6:i386 && rm -rf /var/lib/apt/lists/*
from docker-brew-ubuntu-core.
@tianon this should be enabled in the default ubuntu images that one pulls with "docker pull ubuntu".
from docker-brew-ubuntu-core.
If it's not enabled in the packages provided by Ubuntu, what's the justification? Docker does not officially support 32bit platforms. The tarballs provided by Ubuntu do come in an i386 variant, but it's a completely separate project to actually build and support such a thing right now, since Docker is not interested in 32bit support currently.
from docker-brew-ubuntu-core.
@tianon it is enabled by default on normal Ubuntu Desktop & Server installations by default. That is an amd64 ubuntu installation can execute i386 binaries. From docker point of view it's a 64bit host, guest and platform, it just happens that workloads inside it can execute i386 binaries.
from docker-brew-ubuntu-core.
These tarballs are the stock rootfs tarballs provided by Canonical (specifically, https://partner-images.canonical.com/core/), so I'm not actually permitted to do more modification to them than what's already being done here (they're very specific about providing these tarballs built from their own systems for us to call this Ubuntu -- I'm essentially just the proxy maintainer here).
That being said, I've got two points of interest for you. One is https://hub.docker.com/r/i386/ubuntu/ (for a pure 32bit image). The other is the following:
$ docker pull ubuntu:precise > /dev/null
$ docker run -it --rm ubuntu:precise dpkg --print-foreign-architectures
i386
$ docker pull ubuntu:trusty > /dev/null
$ docker run -it --rm ubuntu:trusty dpkg --print-foreign-architectures
$ docker pull ubuntu:wily > /dev/null
$ docker run -it --rm ubuntu:wily dpkg --print-foreign-architectures
$ docker pull ubuntu:xenial > /dev/null
$ docker run -it --rm ubuntu:xenial dpkg --print-foreign-architectures
So, this definitely used to be standard (as evidenced by precise having it), but is no longer considered to be as such.
from docker-brew-ubuntu-core.
Related Issues (20)
- Docker image 21.04 (rolling) - apt update error HOT 6
- less command missing Ubuntu 20.10 image HOT 1
- how to tell the version of python3 supported in the default repository without installing? HOT 2
- Repositories no longer have release files HOT 3
- changelogs of "native" packages are missing HOT 3
- Cannot create new threads in Ubuntu 21.10 HOT 2
- [Question] Why date is not updated when new version is created? HOT 2
- to use gpu but slow HOT 1
- Ubuntu:20.04 image usage guidelines HOT 1
- Update Ubuntu Focal 20.04 image to 20220105 HOT 9
- dpkg broken in Jammy image on singular-doc pkg extraction HOT 2
- Need help in increasing the windows/chrome resolution for Ubuntu image HOT 1
- Update Ubuntu Focal 20.04 image to 20220316 HOT 4
- apt update fails on ubuntu:jammy unless --security-opt seccomp=unconfined is specified HOT 16
- Rerun build job to update ubuntu image LTE 20.04 HOT 1
- `apt update` fails on macOS HOT 1
- how to build 16.04.4 docker image? HOT 1
- Q: Get SERIAL or GitHash from running image HOT 1
- ubuntu:latest throws an error "failed to solve with frontend dockerfile.v0" HOT 3
- Unable to build from ubuntu 21.04 since 23 july HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-brew-ubuntu-core.