Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alanfranz/docker-centos5-i386
https://github.com/alanfranz/docker-centos5-i386
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alanfranz/docker-centos5-i386
- Owner: alanfranz
- Created: 2015-08-25T16:27:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-25T16:32:17.000Z (over 9 years ago)
- Last Synced: 2024-04-18T02:12:00.194Z (9 months ago)
- Language: Shell
- Size: 80.5 MB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CentOS 5 i386 Build
spinoff from https://github.com/toopher/toopher-docker
Docker hub doesn't publish 32-bit CentOS builds, so this sets up a Docker Automated Build to create our own.## Docker
To build the image, merely invoke docker as follows:
```
docker build .
```## Refreshing the tarball
To build the tarball that is referenced in the `Dockerfile` we use Vagrant to build up a CentOS VM that can run through docker's [`mkimage-yum`](https://github.com/docker/docker/blob/master/contrib/mkimage-yum.sh) steps. Here's how that's done:```
vagrant up
vagrant ssh
cd /vagrant
sudo ./make-docker-image.sh
exit
vagrant -f destroy
```This will dump the tarball back in this directory where it can then be used to build the docker image as described above.