Skip to content

Commit bea48ba

Browse files
committed
Changes to build image in rootless mode
1 parent f7d4758 commit bea48ba

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
@@ -38,7 +38,7 @@ GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1
3838
ACTIONLINT_PACKAGE ?= github.com/rhysd/actionlint/cmd/actionlint@v1
3939

4040
DOCKER_IMAGE ?= harbor-dev.matera.com/ci-cd/gitea
41-
DOCKER_TAG ?= latest
41+
DOCKER_TAG ?= latest-rootless
4242
DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)
4343

4444
ifeq ($(HAS_GO), yes)
@@ -972,7 +972,7 @@ generate-manpage:
972972

973973
.PHONY: docker
974974
docker:
975-
docker build -t $(DOCKER_REF) .
975+
docker build -t $(DOCKER_REF) -f Dockerfile.rootless .
976976
# support also build args docker build --build-arg GITEA_VERSION=v1.2.3 --build-arg TAGS="bindata sqlite sqlite_unlock_notify" .
977977

978978
# This endif closes the if at the top of the file

0 commit comments

Comments
 (0)