Przeglądaj źródła

Switch forego downloads

Official ddollar site has been down for a while and not sure if it's
coming back up or not.
Jason Wilder 9 lat temu
rodzic
commit
a54af7d73b
1 zmienionych plików z 2 dodań i 2 usunięć
  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
  && sed -i 's/^http {/&\n    server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf
 
 
 # Install Forego
 # 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
 ENV DOCKER_GEN_VERSION 0.7.0