Fix recurring packer issue docker hub builds
This commit is contained in:
parent
f37ee50f7b
commit
8437808acf
|
@ -3,8 +3,8 @@ RUN apk update && \
|
||||||
apk add --no-cache git && \
|
apk add --no-cache git && \
|
||||||
apk add --no-cache upx=3.95-r1
|
apk add --no-cache upx=3.95-r1
|
||||||
|
|
||||||
RUN go get github.com/mjibson/esc && \
|
RUN go get -u github.com/dosco/esc && \
|
||||||
go get github.com/pilu/fresh
|
go get -u github.com/pilu/fresh
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ADD . /app
|
ADD . /app
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
"github.com/spf13/viper"
|
"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 (
|
const (
|
||||||
authFailBlockAlways = iota + 1
|
authFailBlockAlways = iota + 1
|
||||||
|
|
Loading…
Reference in New Issue