Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alanfranz/docker-centos5-i386


https://github.com/alanfranz/docker-centos5-i386

Last synced: 25 days ago
JSON representation

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.