Skip to content

Commit

Permalink
perf: update ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Aug 1, 2024
1 parent 8018f81 commit 6151e51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-ee
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6151e51

Please sign in to comment.