dkd / docker-dkdde-arcanist

Docker data volume container Arcanist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dkdde/arcanist

Docker Data Volume Container Arcanist

This Docker image dkdde/arcanist consists of

  • defined and stable Git checkout of Arcanist
  • defined and stable Git checkout of libphutil

to be run as Docker Data Volume Container. PHP is not included.

Installation/Setup

Download latest Docker image:

$ docker pull dkdde/arcanist

or a specific version (tag):

$ docker pull dkdde/arcanist:arcanist-21fe07925b07_libphutil-d02cc05931b0

In this case 21fe07925b07 references a Git commit hash in the Arcanist repository, d02cc05931b0 points to a commit hash in the libphutil repository. See list of available tags at the Docker Hub project page.

Usage

Create data volume container, name it arcanist and expose /arc:

$ docker create -v /arc --name arcanist dkdde/arcanist:latest

Mount and run Arcanist executable (PHP v7.0):

$ docker run -it --volumes-from arcanist php:7.0-cli /arc/arcanist/bin/arc --help

Try another PHP version (e.g. v7.1):

$ docker run -it --volumes-from arcanist php:7.1-cli /arc/arcanist/bin/arc --help

Development

Clone project and both Arcanist and libphutil sources into the project directory:

$ git clone https://github.com/dkd/docker-dkdde-arcanist.git
$ cd docker-dkdde-arcanist
$ git clone https://github.com/phacility/arcanist.git
$ git clone https://github.com/phacility/libphutil.git

Build image, tag appropriately and push to Docker Hub:

$ docker build . --tag dkdde/arcanist
$ docker push dkdde/arcanist

About

Docker data volume container Arcanist


Languages

Language:Dockerfile 100.0%