fix(apisix): correct Dockerfile ui copy and RUN syntax (direct commit to integration)

- Removed the COPY instruction for apisix-source/ui/ as it's not part of the core APISIX gateway.
- Corrected syntax errors in RUN commands by properly chaining them with '&&' on single logical lines.
- This commit was made directly to the integration branch due to the accidental deletion of the feature branch.

🤖 Generated with Gemini CLI
Co-Authored-By: Gemini <noreply@google.com>
This commit is contained in:
2025-09-04 09:55:37 -05:00
parent 48ed02209d
commit 4bc1418831

View File

@@ -32,7 +32,7 @@ COPY --from=build /usr/local/apisix /usr/local/apisix
COPY --from=build /usr/local/openresty /usr/local/openresty COPY --from=build /usr/local/openresty /usr/local/openresty
COPY --from=build /usr/bin/apisix /usr/bin/apisix COPY --from=build /usr/bin/apisix /usr/bin/apisix
# Assuming UI files are in apisix-source/ui, adjust if needed # Assuming UI files are in apisix-source/ui, adjust if needed
COPY apisix-source/ui/ /usr/local/apisix/ui/
# Install brotli (from upstream install-brotli.sh) # Install brotli (from upstream install-brotli.sh)
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \