From 3cf7eb461f02b1ece6b7ae74dd2e43b01148afce Mon Sep 17 00:00:00 2001 From: Fabricio Date: Mon, 23 Jul 2018 20:42:34 -0300 Subject: [PATCH] roboto font and adjusts in the dashboard --- Dockerfile | 3 ++- dashboard.go | 20 +++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 03d6f38..d0cb641 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM golang:latest COPY . /src WORKDIR /src RUN go get -d ./... -ENV OS linux # linux | windows | darwin +# linux | windows | darwin +ENV OS linux CMD GOOS=$OS GOARCH=386 go build -ldflags="-s -w" -o capture . && \ chmod -R 777 capture diff --git a/dashboard.go b/dashboard.go index 3df53a6..faef8d9 100644 --- a/dashboard.go +++ b/dashboard.go @@ -18,6 +18,7 @@ const dashboardHTML = ` + Dashboard