Fix recurring packer issue docker hub builds

This commit is contained in:
Vikram Rangnekar 2019-03-28 11:41:52 -04:00
parent f37ee50f7b
commit 8437808acf
2 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@ RUN apk update && \
apk add --no-cache git && \
apk add --no-cache upx=3.95-r1
RUN go get github.com/mjibson/esc && \
go get github.com/pilu/fresh
RUN go get -u github.com/dosco/esc && \
go get -u github.com/pilu/fresh
WORKDIR /app
ADD . /app

View File

@ -16,7 +16,7 @@ import (
"github.com/spf13/viper"
)
//go:generate esc -o static.go -private -pkg serv ../web/build
//go:generate esc -o static.go -private --prefix ../web/build -pkg serv ../web/build
const (
authFailBlockAlways = iota + 1