Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Sep 27, 2023
1 parent b9fde5b commit 55d79c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions all-in-one/apisix-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ RUN set -x \
&& cp -v /usr/local/apisix/deps/lib/luarocks/rocks-5.1/apisix/${APISIX_VERSION}-0/bin/apisix /usr/bin/ \
&& (if [ "$APISIX_VERSION" = "master" ] || [ "$APISIX_VERSION" \> "2.2" ]; then echo 'use shell ';else bin='#! /usr/local/openresty/luajit/bin/luajit\npackage.path = "/usr/local/apisix/?.lua;" .. package.path'; sed -i "1s@.*@$bin@" /usr/bin/apisix ; fi;) \
&& mv /usr/local/apisix/deps/share/lua/5.1/apisix /usr/local/apisix \
&& apk del .builddeps build-base make unzip \
&& rm /usr/local/openresty/bin/etcdctl

&& apk del .builddeps build-base make unzip

# Build etcd
FROM alpine:3.13 AS etcd-stage
Expand Down
3 changes: 1 addition & 2 deletions debian-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update --fix-missing \
&& apt-get install -y \
libldap2-dev \
&& apt-get remove --purge --auto-remove -y \
&& rm /usr/local/openresty/bin/etcdctl
&& apt-get remove --purge --auto-remove -y

WORKDIR /usr/local/apisix

Expand Down

0 comments on commit 55d79c3

Please sign in to comment.