-
Install docker-manger.conf and docker-instance.conf in /etc/init
-
Create a containers file in /etc/docker/ with the following format
name: image cmdThe name must be unique.
-
sudo service docker-manager start
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 <[email protected]> | |
| 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 hidden or 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
| --- nginx-1.6.2/debian/rules 2014-09-16 14:06:41.000000000 +0000 | |
| +++ nginx-1.6-2-ldap/debian/rules 2014-09-16 15:02:21.707068296 +0000 | |
| @@ -49,6 +49,7 @@ | |
| --with-mail \ | |
| --with-mail_ssl_module \ | |
| --with-file-aio \ | |
| + --add-module=/tmp/mods/nginx-auth-ldap \ | |
| $(WITH_SPDY) \ | |
| --with-cc-opt="$(CFLAGS)" \ | |
| --with-ld-opt="$(LDFLAGS)" \ |
This file contains hidden or 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
| [xboxdrv] | |
| trigger-as-button=true | |
| [evdev-absmap] | |
| ABS_X=x1 | |
| ABS_Y=y1 | |
| ABS_Z=y2 | |
| ABS_RZ=x2 | |
| ABS_HAT0X=dpad_x | |
| ABS_HAT0Y=dpad_y |
OlderNewer