From 3db91bced4a0f0bd3eff95c342ee5910d1f4b710 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Sat, 16 Dec 2017 23:24:22 +0000 Subject: [PATCH] Upgrade Go to 1.9.2 --- backend/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index c11d99768c..0f0b2bd455 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,12 +1,8 @@ -FROM ubuntu:yakkety -ENV GOPATH /go -ENV GOVERSION 1.8.3 -ENV PATH /go/bin:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin +FROM golang:1.9.2-stretch ENV SCOPE_SKIP_UI_ASSETS true RUN apt-get update && \ apt-get install -y libpcap-dev python-requests time file shellcheck git gcc-arm-linux-gnueabihf curl build-essential python-pip && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -RUN curl -Ls https://storage.googleapis.com/golang/go${GOVERSION}.linux-amd64.tar.gz | tar xz -C /usr/local RUN go clean -i net && \ go install -tags netgo std && \ go install -race -tags netgo std