From c60cb9ab402a3f3aecc756cabd7469d9f230e1c9 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Mon, 25 Jul 2016 07:47:17 +0300 Subject: [PATCH] return `apt-get update` to HHVM --- README.md | 4 ++-- hhvm/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b9af7859..62f0c230 100644 --- a/README.md +++ b/README.md @@ -907,7 +907,7 @@ server_name laravel.dev; ### 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` - +
### Install Node + NVM diff --git a/hhvm/Dockerfile b/hhvm/Dockerfile index ed787c26..a9569c9c 100644 --- a/hhvm/Dockerfile +++ b/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 \