File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ GOFLAGS ?= -mod=vendor
33
44export DOCKER_BUILDKIT = 1
55
6- all : amazon centos7 ubuntu-xenial amazon2 ubuntu-bionic
6+ all : amazon centos7 ubuntu-xenial amazon2 ubuntu-bionic ubuntu-focal ubuntu-groovy
77
8+ .PHONY : test
89test :
910 GO111MODULE=on GOFLAGS=' $(GOFLAGS)' go test ./...
1011
@@ -31,7 +32,22 @@ ubuntu-bionic:
3132 docker build -t ubuntu-bionic-builder --target deb_based --build-arg CONTAINER_VERSION=ubuntu:bionic --build-arg OS_VERSION=bionic -f build/Dockerfile .
3233 docker run --rm -v $(shell pwd) /build/package/debian:/debian -v $(shell pwd) /build_output:/build_output ubuntu-bionic-builder
3334
35+ ubuntu-focal :
36+ docker build -t ubuntu-focal-builder --target deb_based --build-arg CONTAINER_VERSION=ubuntu:focal --build-arg OS_VERSION=focal -f build/Dockerfile .
37+ docker run --rm -v $(shell pwd) /build/package/debian:/debian -v $(shell pwd) /build_output:/build_output ubuntu-focal-builder
38+
39+ ubuntu-groovy :
40+ docker build -t ubuntu-groovy-builder --target deb_based --build-arg CONTAINER_VERSION=ubuntu:groovy --build-arg OS_VERSION=groovy -f build/Dockerfile .
41+ docker run --rm -v $(shell pwd) /build/package/debian:/debian -v $(shell pwd) /build_output:/build_output ubuntu-groovy-builder
42+
43+ .PHONY : clean
3444clean :
3545 -rm -r build_output
3646
37- .PHONY : test
47+ .PHONY : deps
48+ deps :
49+ @go mod tidy && go mod verify && go mod vendor
50+
51+ .PHONY : clean-cache
52+ clean-cache :
53+ @go clean -modcache
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ where `<os>` is the target OS. The following values are allowed:
170170* ` ubuntu-xenial ` for Ubuntu 16.04
171171* ` ubuntu-bionic ` for Ubuntu 18.04
172172* ` ubuntu-focal ` for Ubuntu 20.04
173+ * ` ubuntu-groovy ` for Ubuntu 20.10
173174
174175If you run make without any arguments, it will build software packages for all supported OSes.
175176
You can’t perform that action at this time.
0 commit comments