hhvm / hhvm-docker Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fredemmott/hhvm-docker
Dockerfiles for HHVM
License: MIT License
This project forked from fredemmott/hhvm-docker
Dockerfiles for HHVM
License: MIT License
I happened to notice that for sometime there has been a discussion about creating an official hhmv docker image.
I asked about this issue in docker-library/official-images/issues/1638 and @yosifkit suggested a PR from upstream.
I have been referred on tweeter(https://twitter.com/HipHopVM/status/705063018606886912) to this repo as the official one, and since it has no open issues and has been praised by the docker-library mantainer, I assume it's stable.
Would it be terribly inconvenient to ask for a PR to https://github.com/docker-library/official-images?
There have been a few new releases and the images available on docker hub are updated, but this repo is not.
Now that HHVM can't execute composer, PHP should be included.
zip and unzip should also be included so that releases are installed, and .gitattributes export-ignore is respected.
Is it intentional that this image runs HHVM as root instead of www-data?
Running ps aux | grep hhvm
inside the container shows:
root@692812879a71:/# ps aux | grep hhvm
root 1 0.3 1.0 846568 126760 ? SLsl 13:09 0:02 /usr/bin/hhvm -m server -c /etc/hhvm/server.ini -c /etc/hhvm/site.ini
root 7 0.0 0.2 201832 25300 ? Ss 13:09 0:00 /usr/bin/hhvm -m server -c /etc/hhvm/server.ini -c /etc/hhvm/site.ini
root 8 0.0 0.0 2608 604 ? S 13:09 0:00 sh -c /opt/hhvm/4.73.1/bin/hh_single_compile --daemon --dump-symbol-refs
root 10 0.2 0.5 87596 61852 ? S 13:09 0:01 /opt/hhvm/4.73.1/bin/hh_single_compile --daemon --dump-symbol-refs
root 716 0.4 0.3 84228 45736 ? Ss 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server monitor_daemon_main
root 717 1.4 0.4 22114492 58292 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server ServerMain.daemon_main
root 718 0.4 0.3 22099908 43948 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 1/10 for server 717
root 719 0.4 0.3 22099908 44044 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 2/10 for server 717
root 720 0.4 0.3 22099908 43832 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 3/10 for server 717
root 721 0.4 0.3 22099908 43896 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 4/10 for server 717
root 722 0.4 0.3 22099908 43756 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 5/10 for server 717
root 723 0.4 0.3 22099908 43776 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 6/10 for server 717
root 724 0.4 0.3 22099908 43816 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 7/10 for server 717
root 725 0.4 0.3 22099908 43880 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 8/10 for server 717
root 726 0.4 0.3 22099908 43756 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 9/10 for server 717
root 727 0.5 0.3 22099908 43868 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server worker process 10/10 for server 717
root 728 1.0 0.3 73780 43088 ? SN 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_server file watching process for server 717
root 801 0.4 0.3 75596 44324 ? S 13:18 0:00 /opt/hhvm/4.73.1/bin/hh_client Jsonrpc
root 804 0.0 0.0 3304 728 pts/0 S+ 13:18 0:00 grep --color=auto hhvm
Seems like the invocation command in the Dockerfile should be modified to include --user=www-data
.
Debian, especially the slim variant, has a much smaller footprint than Ubuntu. Alpine Linux would be even smaller, but it doesn't seem to be supported.
If a folder 'my' exists, in which 'index.php' is, requesting '/my' returns a header with '301 Moved Permanently' and 'Location: /my/'.
At Facebook, for example '/pages/creation/' and '/pages/creation' (both) return '200 OK'.
In addition, there are some header informations removed at Facebook, like 'X-Powered-By: HHVM/4.172.0'.
Is there any config file since I found no ini setting?
Version: HHVM/4.172.0
Hey guys, I have a Docker HHVM repository. With my docker-hhvm it is possible to built all HHVM versions.
https://github.com/brunoric/docker-hhvm
Any feedback will be much appreciated.
=)
hello. I have this setting in my server.ini
hhvm.server.default_document = /var/www/src/index.hack
but unfortunately, when going to localhost:8080
on my browser, I get a 404 error. I'm able to run this without docker with no issues however. The current workaround I have is setting hhvm.server.source_root=/var/www/src
and then accessing localhost:8080/index.hack
. I was wondering how I can resolve this.
Right now, hhvm/hhvm:latest
and hhvm/hhvm-proxygen:latest
are aliases for the latest hhvm/hhvm:4.x-latest
. Two problems:
apt update && apt upgrade
does not upgrade to the latest HHVM, only the latest for that specific x
It should be changed to be a separate image that is not pinned to the particular x
.
This likely needs changes to:
As the title , does it will cause the performance issue ?
I found my case will slower than php56...
does this supports ubuntu 16.0 lts distro?
by default, it won't work with docker's settings, and it's spammy (facebook/hhvm#8026 (comment))
hhvm update to 3.17.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.