فهرست منبع

Merge pull request #67 from adam-p/master

Fix Android Dockerfile (was missing one use of the Go version variable)
Adam Pritchard 11 سال پیش
والد
کامیت
1cd19f9600
2فایلهای تغییر یافته به همراه4 افزوده شده و 5 حذف شده
  1. 2 3
      AndroidLibrary/Dockerfile
  2. 2 2
      ConsoleClient/Dockerfile

+ 2 - 3
AndroidLibrary/Dockerfile

@@ -2,10 +2,9 @@
 #
 # See README.md for usage instructions.
 
-# TODO: Switch to debian:testing
 FROM ubuntu:12.04
 
-ENV GOVERSION=go1.4
+ENV GOVERSION=go1.4.1
 
 # Install system-level dependencies.
 ENV DEBIAN_FRONTEND=noninteractive
@@ -59,7 +58,7 @@ RUN echo "INSTALLING GO" && \
   curl -L https://github.com/golang/go/archive/$GOVERSION.zip -o /tmp/go.zip && \
   unzip /tmp/go.zip && \
   rm /tmp/go.zip && \
-  mv /go-master $GOROOT && \
+  mv /go-$GOVERSION $GOROOT && \
   echo devel > $GOROOT/VERSION && \
   cd $GOROOT/src && \
   ./all.bash && \

+ 2 - 2
ConsoleClient/Dockerfile

@@ -2,9 +2,9 @@
 #
 # See README.md for usage instructions.
 
-FROM debian:testing
+FROM ubuntu:12.04
 
-ENV GOVERSION=go1.4
+ENV GOVERSION=go1.4.1
 
 # Install system-level dependencies.
 ENV DEBIAN_FRONTEND=noninteractive