Merge pull request #1306 from bestlong/fix-hhvm-build-fail

fix install hhvm package cannot be authenticated
This commit is contained in:
Yu-Lung Shao (Allen) 2017-12-10 18:19:06 +08:00 committed by GitHub
commit 5e10abd536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,8 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449 RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
RUN apt-get update -y \ RUN apt-get update -y \
&& apt-get install -y software-properties-common \ && apt-get install -y software-properties-common wget \
&& wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add - \
&& add-apt-repository "deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main" \ && add-apt-repository "deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main" \
&& apt-get update -y \ && apt-get update -y \
&& apt-get install -y hhvm \ && apt-get install -y hhvm \