Browse Source

return `apt-get update` to HHVM

Mahmoud Zalt 8 years ago
parent
commit
c60cb9ab40
2 changed files with 4 additions and 3 deletions
  1. 2 2
      README.md
  2. 2 1
      hhvm/Dockerfile

+ 2 - 2
README.md

@@ -907,7 +907,7 @@ server_name laravel.dev;
 <a name="Enable-Global-Composer-Build-Install"></a>
 ### Enable Global Composer Build Install
 
-To enable Running Global Composer Install during the Build:
+Enabling Global Composer Install during the build for the container allows you to get your composer requirements installed and available in the container after the build is done.
 
 1 - open the `docker-compose.yml` file
 
@@ -951,7 +951,7 @@ c - rebuild the Workspace Container `docker-compose build workspace`
 
 
 
-
+<br>
 <a name="Install-Node"></a>
 ### Install Node + NVM
 

+ 2 - 1
hhvm/Dockerfile

@@ -2,7 +2,8 @@ FROM ubuntu:14.04
 
 RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
 
-RUN apt-get install -y software-properties-common \
+RUN apt-get update -y \
+    && apt-get install -y software-properties-common \
     && add-apt-repository "deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main" \
     && apt-get update -y \
     && apt-get install -y hhvm \