Sign inSign up

probonopd/docker-build-subsurface

By probonopd

•Updated almost 11 years ago

Build Subsurface AppImage

Image
1

437

probonopd/docker-build-subsurface repository overview

⁠docker-build-subsurface

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.

⁠Install Docker

Running on Fedora 23, install Docker with

sudo yum -y install docker
sudo systemctl start docker

⁠Download and run this container

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.

⁠How this container was made

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.

Tag summary

Content type

Image

Digest

sha256:0591b5bdd…

Size

656.5 MB

Last updated

almost 11 years ago

docker pull probonopd/docker-build-subsurface