• Stars
    star
    125
  • Rank 286,335 (Top 6 %)
  • Language
    Dockerfile
  • License
    MIT License
  • Created over 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Dockerized Phalcon

Docker Phalcon

Phalcon Version Phalcon devtools

Docker Phalcon base image, see DockerHub.

The repository is a Docker image based on Docker official PHP image with Phalcon Framework.

The Phalcon Action is Use GitHub Actions with this image.

Variants for Phalcon

It's only support PHP 7.4 since Phalcon 5.0.0 release. We will keep the old Docker image, but we will not to update old image.

The dockerfile with old Phalcon versions can be found at branchs:

Image Test

Here is a simple test command that can confirm the extension has been loaded & check version.

$ docker run -it --rm mileschou/phalcon:alpine sh -c "php --ri phalcon | grep -i ^version" 
Version => 4.0.0

Running a php script

$ docker run -v ${PWD}:/usr/src/app -w /usr/src/app mileschou/phalcon:7.4-cli php script.php

Install phalcon/devtools

docker-phalcon-install-devtools is a script to install latest release of Phalcon Devtools CLI.

Here is usage example:

$ docker run -it --rm mileschou/phalcon docker-phalcon-install-devtools
>>> Downloading phalcon.phar ...
>>> Testing 'phalcon --version' command ...

Phalcon DevTools (4.0.0)

Environment:
  OS: Linux 4e17aa4d915d 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64
  PHP Version: 7.4.1
  PHP SAPI: cli
  PHP Bin: /usr/local/bin/php
  PHP Extension Dir: /usr/local/lib/php/extensions/no-debug-non-zts-20190902
  PHP Bin Dir: /usr/local/bin
  Loaded PHP config: 
Versions:
  Phalcon DevTools Version: 4.0.0
  Phalcon Version: 4.0.0
  AdminLTE Version: 2.3.6

Build yourself

Recommend 2G+ RAM when build image yourself. Maybe wait a long time for compile if only 1G RAM.

Memo

List the variants of Docker official PHP:

make variants

Thanks

Contributors

More Repositories

1

book-refactoring-30-days

看到 code 寫成這樣我也是醉了,不如試試重構?
Python
84
star
2

book-intro-of-ci

CI 從入門到入坑
PHP
79
star
3

schemarkdown-cli

The database document generator for Laravel
PHP
47
star
4

composer-action

Docker and GitHub Actions for Composer
Dockerfile
33
star
5

book-start-golang-30-days

從無到有,使用 Go 開發應用程式
Go
24
star
6

docker-lapis

Dockerized Lapis
Dockerfile
22
star
7

twnicip

Twnic IPs
PHP
13
star
8

docker-xdebug

The Docker Image with Xdebug for GitLab CI / Drone CI / Dapper / GitHub Actions to test.
Dockerfile
12
star
9

linux-install-sh

Linux install shell scripts
Shell
10
star
10

php-tools-action

PHP tool integrate in GitHub Actions.
Shell
9
star
11

composer-template

The template for create Composer project.
Makefile
8
star
12

todo

Just for issue tracker.
8
star
13

lua-action

GitHub Actions for Lua
Dockerfile
7
star
14

rancher-workshop

Rancher Workshop
7
star
15

psr

The support classes for PSR
PHP
7
star
16

slim-test

A simple test helper for Slim Framework 3
PHP
7
star
17

mocker

The mock helper for HTTP client.
PHP
6
star
18

toggle

The feature toggle library for PHP
PHP
6
star
19

elixir-action

GitHub Actions for Elixir Environment
Dockerfile
6
star
20

docker-swoole

Dockerized Swoole
Dockerfile
5
star
21

hexo-mdlink

Auto generate .md link
JavaScript
5
star
22

docker-php-tester

Dockerfile
5
star
23

csphp

The builder and parser for PHP
PHP
5
star
24

docker-lua

Dockerized Lua
Dockerfile
5
star
25

ironman-2022-legacy-login

PHP
5
star
26

schemarkdown

The core library for generate Markdown document from database schema.
PHP
4
star
27

ip

IP tools in PHP
PHP
4
star
28

imgecho

Inline Images Protocol implementation for PHP.
PHP
4
star
29

laradra-archive

Package for Laravel with Hydra
PHP
4
star
30

pherm-ui

PHP
4
star
31

phalgorithm

PHP algorithms
PHP
4
star
32

phalcon-action

GitHub Actions for Phalcon Framework
Shell
3
star
33

php-notice

Notice in PHP Language
PHP
3
star
34

daily-coding

Elixir
3
star
35

codegener

The helper for generate code
PHP
3
star
36

docker-chromium-php

Chromium + PHP for Docker
PHP
3
star
37

rest

REST client.
PHP
2
star
38

validentity

Validators for identity
PHP
2
star
39

laravel-cached-resource

PHP
2
star
40

toggle-simplify

The simplify feature toggle library for PHP
PHP
2
star
41

docker-selenium-example

Example for using Selenium on Docker
JavaScript
2
star
42

feature-toggle-dojo

PHP
2
star
43

docker-gitdags

Docker for gitdags
Dockerfile
2
star
44

ua

PHP
2
star
45

design-pattern-practice

PHP
2
star
46

php-watcher

A simple watcher library written by PHP
PHP
2
star
47

hexo-template

2
star
48

docker-octane

The base image for Laravel Octane using Swoole extension.
Dockerfile
2
star
49

docker-30min

Shell
2
star
50

node-algorithm

Node Algorithm
JavaScript
1
star
51

php-tailer

Simulate tail command using PHP
PHP
1
star
52

monoex

Monolog extensions
PHP
1
star
53

php-bank

Bank query tool. written by PHP.
PHP
1
star
54

line-sdk-php

The SDK of Line written by PHP
Makefile
1
star
55

commander

The command wrapper written by PHP
PHP
1
star
56

dotnet-newbie

C#
1
star
57

MilesChou

1
star
58

dusk-skeleton

Minimal Laravel Dusk
PHP
1
star
59

docker-zephir

Dockerized Zephir
Dockerfile
1
star
60

lacorator

Decorator generator for Laravel
PHP
1
star
61

go-post

A simple golang project provide post API
Go
1
star
62

phalog

Static HTML generator
PHP
1
star
63

ironman-cli

PHP
1
star
64

rust-newbie

Rust
1
star
65

shopcart

A shopcart project. @shajou and I written at 2012.
HTML
1
star
66

parkdown

The markdown parser for PHP
PHP
1
star
67

stock-crawler

C#
1
star
68

docker-phpunit

Dockerfile
1
star
69

nested-slim

Test for nested Slim
PHP
1
star
70

fs

F#
1
star
71

namer

Generator of faker name.
Go
1
star
72

php-preview

Preview new PHP version
PHP
1
star
73

oauth2-server-jwt-bearer-grant

Implement RFC 7523 on league/oauth2-server
PHP
1
star
74

ironman2020-sample

Elixir
1
star
75

wiki

Wiki base by Logseq
JavaScript
1
star
76

expennant

Makefile
1
star
77

php-watcher-command

Commands implement using watcher library.
PHP
1
star
78

gou

Go
1
star
79

vagrant-web-prototype

Used Slim & MySQL
Shell
1
star
80

zaravel

Zephir + Laravel
1
star
81

behat-extension

Saver for Behat
PHP
1
star
82

laratelemetry

Makefile
1
star
83

git-workshop

Git workshop
1
star
84

phoenix-newbie

A practice for Phoenix.
Elixir
1
star
85

eski

Makefile
1
star
86

laradra

Laradra CLI project
PHP
1
star
87

docker-hexo

Dockerfile
1
star
88

helloworld

See "The Evolution of a Software Engineer"
PHP
1
star
89

toggle-processor

The processors implements for feature toggle library.
PHP
1
star
90

docker-psysh

Dockerized PsySH
Dockerfile
1
star
91

testrails

PHP
1
star
92

slim-practice

Practice using Slim Framework with GitHub actions
PHP
1
star
93

30-days-of-elixir

A walk through the Elixir language in 30 exercises.
Elixir
1
star
94

opentelemetry-workshop

Vue
1
star
95

mindicator

PHP
1
star
96

purl

Parser for URL
PHP
1
star