diff --git a/Dockerfile-ee b/Dockerfile-ee index 32f32df0..88c65df0 100644 --- a/Dockerfile-ee +++ b/Dockerfile-ee @@ -21,7 +21,7 @@ ARG DEPENDENCIES=" \ ARG APT_MIRROR=http://deb.debian.org RUN set -ex \ - && sed -i "s/deb.debian.org/${APT_MIRROR}/g" /etc/apt/sources.list \ + && sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list \ && apt-get update \ && apt-get install -y --no-install-recommends ${DEPENDENCIES} \ && apt-get clean diff --git a/Makefile b/Makefile index 2dcced63..4934a74e 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,12 @@ koko-ui: .PHONY: docker docker: @echo "build docker images" - docker buildx build --build-arg VERSION=$(VERSION) -t jumpserver/koko . + docker buildx build --build-arg VERSION=$(VERSION) -t jumpserver/koko:$(VERSION)-ce . --load + +.PHONY: docker-ee +docker-ee:docker + @echo "build docker images" + docker buildx build --build-arg VERSION=$(VERSION) -t jumpserver/koko-ee:$(VERSION)-ce -f Dockerfile-ee . --load .PHONY: clean clean: