Skip to content

Commit aef109b

Browse files
authored
Bump golang version to 1.15. Move docker prune command to clean tag in Makefile (#58)
1 parent 78da45d commit aef109b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
APPVERSION := CI
3-
GOVERSION := 1.13
3+
GOVERSION := 1.15
44
PROGRAM := pg_featureserv
55
CONTAINER := pramsey/$(PROGRAM)
66

@@ -21,6 +21,7 @@ clean: ## This will clean all local build artifacts
2121
$(info Cleaning project...)
2222
@rm -f $(PROGRAM)
2323
@rm -rf docs/*
24+
docker image prune --force
2425

2526
docs: ## Generate docs
2627
@rm -rf docs/* && cd hugo && hugo && cd ..
@@ -33,7 +34,6 @@ bin-docker: ## Build a local binary based off of a golang base docker imag
3334

3435
build-docker: $(PROGRAM) Dockerfile ## Generate a CentOS 7 container with APPVERSION tag, using binary from current environment
3536
docker build -f Dockerfile --build-arg VERSION=$(APPVERSION) -t $(CONTAINER):$(APPVERSION) .
36-
docker image prune --force
3737

3838
release: clean docs build build-docker ## Generate the docs, a local build, and then uses the local build to generate a CentOS 7 container
3939

0 commit comments

Comments
 (0)