1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-08 22:36:41 +02:00

Switch from golang docker client to executing direct docker commands

github.com/docker/docker/client adds an additional 30 deps to the
project and encoutering random errors when running on gitlab.
	Can't add file cmd/web-app/static/assets/images/glacier-example-pic.jpg to tar
	Error response from daemon: invalid reference format
This commit is contained in:
Lee Brown
2019-07-14 12:25:58 -08:00
parent d16855ead9
commit e46c6317e5
6 changed files with 55 additions and 194 deletions

View File

@ -40,7 +40,7 @@ COPY cmd/web-api/templates /templates
WORKDIR ./cmd/web-api
# Update the API documentation.
RUN swag init
#RUN swag init
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix nocgo -o /gosrv .