- Refactor file embedding to use Go 1.16 embed functionality.

- Remove references to previous bindata packages from build scripts and docs
This commit is contained in:
Simon Marsh
2021-07-13 11:31:42 +01:00
parent 03c42eb1e8
commit 256a80646f
15 changed files with 30 additions and 43 deletions

View File

@@ -19,9 +19,6 @@ ENV GOOS=linux GOARCH=s390x
ENV CGO_ENABLED=0 GO111MODULE=on
WORKDIR /root
COPY . .
# go-bindata is run on the build host as part of the go generate step
RUN GOARCH=amd64 go get -u github.com/kevinburke/go-bindata/...
RUN go generate
RUN go build -ldflags "-w -s" -o /frontend
################################################################################