Skip to content

Commit

Permalink
CI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentEntity authored Jan 15, 2024
1 parent 3c0a136 commit 71fe561
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ define build_image_dev
$(ENV_DOCKER) build -t $(ENV_APISIX_IMAGE_TAG_NAME)-debian-dev \
--build-arg CODE_PATH=$(1) \
--build-arg ENTRYPOINT_PATH=debian-dev/docker-entrypoint.sh \
--build-arg INSTALL_BROTLI=debian-dev/install-brotli.sh \
-f ./debian-dev/Dockerfile.local .
endef

Expand Down
2 changes: 1 addition & 1 deletion debian-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN apt-get -y update --fix-missing \
libldap2-dev \
&& apt-get remove --purge --auto-remove -y

COPY install-brotli.sh /install-brotli.sh
COPY ./install-brotli.sh /install-brotli.sh
RUN chmod +x /install-brotli.sh \
&& cd / && ./install-brotli.sh && rm -rf /install-brotli.sh

Expand Down
3 changes: 2 additions & 1 deletion debian-dev/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ RUN set -x \
FROM debian:bullseye-slim

ARG ENTRYPOINT_PATH=./docker-entrypoint.sh
ARG INSTALL_BROTLI=./install-brotli.sh

COPY --from=build /usr/local/apisix /usr/local/apisix
COPY --from=build /usr/local/openresty /usr/local/openresty
COPY --from=build /usr/bin/apisix /usr/bin/apisix

COPY install-brotli.sh /install-brotli.sh
COPY ${INSTALL_BROTLI} /install-brotli.sh
RUN chmod +x /install-brotli.sh \
&& cd / && ./install-brotli.sh && rm -rf /install-brotli.sh

Expand Down
2 changes: 1 addition & 1 deletion debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN set -ex; \
&& openresty -V \
&& apisix version

COPY install-brotli.sh /install-brotli.sh
COPY ./install-brotli.sh /install-brotli.sh
RUN chmod +x /install-brotli.sh \
&& cd / && ./install-brotli.sh && rm -rf /install-brotli.sh

Expand Down

0 comments on commit 71fe561

Please sign in to comment.