Skip to content

Commit abcbac9

Browse files
committed
Add Ubuntu 20.04 and 20.10
1 parent a0f76b9 commit abcbac9

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Makefile

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ GOFLAGS ?= -mod=vendor
33

44
export 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
89
test:
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
3444
clean:
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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

174175
If you run make without any arguments, it will build software packages for all supported OSes.
175176

0 commit comments

Comments
 (0)