Pārlūkot izejas kodu

Merge pull request #406 from jwilder/jw-forego

Switch forego downloads
Jason Wilder 9 gadi atpakaļ
vecāks
revīzija
59f8d4301a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -14,8 +14,8 @@ RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
  && sed -i 's/^http {/&\n    server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf
 
 # Install Forego
-RUN wget -P /usr/local/bin https://godist.herokuapp.com/projects/ddollar/forego/releases/current/linux-amd64/forego \
- && chmod u+x /usr/local/bin/forego
+ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego
+RUN chmod u+x /usr/local/bin/forego
 
 ENV DOCKER_GEN_VERSION 0.7.0