Skip to content

Commit

Permalink
ci: install libyaml from apt instead building from source
Browse files Browse the repository at this point in the history
  • Loading branch information
TheShubhendra committed Aug 6, 2024
1 parent 9caec69 commit c8ff4d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
1 change: 1 addition & 0 deletions apisix
Submodule apisix added at e74674
12 changes: 2 additions & 10 deletions debian-dev/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,7 @@ RUN set -x \
make \
git \
sudo \
clang \
wget \
&& wget https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz \
&& tar -zxvf yaml-0.2.5.tar.gz \
&& cd yaml-0.2.5 \
&& ./configure \
&& make \
&& make install \
&& cd /apisix \
libyaml-dev \
&& ls -al \
&& make deps \
&& mkdir -p ${ENV_INST_LUADIR} \
Expand All @@ -58,7 +50,7 @@ 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 --from=build /usr/local/lib/libyaml* /usr/local/lib/
COPY --from=build /usr/lib/x86_64-linux-gnu/libyaml* /usr/local/lib/

COPY ${INSTALL_BROTLI} /install-brotli.sh
RUN chmod +x /install-brotli.sh \
Expand Down

0 comments on commit c8ff4d5

Please sign in to comment.