Build Subsurface AppImage
437
These are my first steps using Docker and Docker Hub. The dockerfile in this repository generates a container which can be used to build an AppImage for Subsurface from git on travis-ci in a CentOS 6 docker container.
Running on Fedora 23, install Docker with
sudo yum -y install docker
sudo systemctl start docker
sudo docker run -i -t probonopd/docker-build-subsurface /bin/bash -ex subsurface.centos6.sh
Actually on my local system I get device-mapper errors, but I can run this container just fine on travis-ci.
Create CentOS 6 container
# sudo docker pull centos:6 # 66 MB
sudo docker run -i -t centos:6 /bin/bash
Now inside the CentOS 6 container I can run commands like
yum -y install wget
wget https://github.com/probonopd/AppImages/raw/master/recipes/subsurface.centos6.sh
bash -ex subsurface.centos6.sh
I simply added these commands to a Dockerfile and host this Dockerfile in this repository. I set up https://hub.docker.com/r/probonopd/docker-build-subsurface/builds/ to build this Dockerfile automatically whenever this Dockerfile is modified on GitHub.
Content type
Image
Digest
sha256:0591b5bdd…
Size
656.5 MB
Last updated
almost 11 years ago
docker pull probonopd/docker-build-subsurface