Public | Automated Build

Last pushed: 2 years ago
Short Description
Dockerized version of Zephir builder. Zephir is used to build php extensions
Full Description

docker-zephir

Dockerized installation of zephir

What

This tool allows you to run a dockerized version of Zephir.
Zephir is a programming language for easy building of php extensions.

How

Install

  1. Make sure you have docker running Docker Install
  2. Pull image : docker pull containedcloud/docker-zephir

Run

docker run -it --rm containedcloud/docker-zephir

Attach local folder to zephir container

docker run -it --rm -v $(pwd):/zephir containedcloud/docker-zephir

Create alias

add following line to ~/.bashrc
or ~/.bash_profile if you are on Mac

alias zephir='docker run -it --rm --name=zephir -v $(pwd):/zephir containedcloud/docker-zephir'

Run with alias

  1. go to your zephir project cd /your/project
  2. run: zephir build

Build

This repo is automatically synced with docker hub public image containedcloud/docker-zephir so you will always have the latest

If you want to build manually :
docker build -t="containedcloud/docker-zephir" github.com/contained/docker-zephir

LICENSE

Copyright 2016 Faruk Brbovic and the "Contained" contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Docker Pull Command
Owner
containedcloud
Source Repository