Upgrade to Go 1.16. Remove Go-Bind-assets in favor of embed. (#630)

* Upgrade to Go 1.16. Remove Go-Bind-assets in favor of embed. Checking Portal-UI Build folder.

* lint

* Remove assets references

* Fixes for sub fs

* Fix lint
This commit is contained in:
Daniel Valdivia
2021-03-05 10:39:17 -08:00
committed by GitHub
parent 716aabe782
commit a2a09b8db1
60 changed files with 704 additions and 1560 deletions

View File

@@ -1,14 +1,7 @@
FROM golang:1.15 as binlayer
RUN go get github.com/go-bindata/go-bindata/... && go get github.com/elazarl/go-bindata-assetfs/...
FROM node:10 as uilayer
WORKDIR /app
COPY --from=binlayer /go/bin/go-bindata-assetfs /bin/
COPY --from=binlayer /go/bin/go-bindata /bin/
COPY ./portal-ui/package.json ./
COPY ./portal-ui/yarn.lock ./
RUN yarn install