-
Install docker-manger.conf and docker-instance.conf in /etc/init
-
Create a containers file in /etc/docker/ with the following format
name: image cmd
The name must be unique.
-
sudo service docker-manager start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: TJ Vanderpoel <tj@rubyists> | |
# Contributor: John Regan <john@jrjrtech.com> | |
pkgname=musl | |
pkgver=1.0.4 | |
pkgrel=1 | |
pkgdesc="An implementation of the C/POSIX standard library intended for use on Linux-based systems" | |
arch=('i686' 'x86_64') | |
url="http://www.musl-libc.org/" | |
license=('MIT') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=php-libgit2-git | |
pkgver=20140409 | |
pkgrel=3 | |
pkgdesc="PHP bindings for libgit2 (php-git)" | |
url="https://github.com/libgit2/php-git" | |
license="MIT" | |
arch=('i686' 'x86_64') | |
depends=('php' 'libgit2') | |
conflicts=('php-libgit2') | |
makedepends=('php' 'git' 'cmake') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use version; our $VERSION = qv('1.0.0'); | |
use utf8; | |
use open qw(:std :utf8); | |
use Carp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env lua | |
-- I'm using luajson here | |
local json = require("json"); | |
local list_file = "data.lst"; | |
local index_file = "data.idx"; | |
-- returns just the list index | |
function list_load_index() | |
local index; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build_package_shared() { | |
local package_name="$1" | |
# patch the makefile for a shared library | |
curl -L https://gist.github.com/jprjr/8476378/raw/lua51-shared-library.patch | patch -p 1 | |
if [ "${MAKEOPTS+defined}" ]; then | |
MAKE_OPTS="$MAKEOPTS" | |
elif [ -z "${MAKE_OPTS+defined}" ]; then | |
MAKE_OPTS="-j 2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tianon/centos-null:5.9 | |
RUN rpm -i http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
RUN yum -y update | |
RUN yum -y install gcc git curl make zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl openssl-devel | |
RUN useradd -m python_user | |
RUN ln -s /proc/self/fd /dev/fd |
NewerOlder