Skip to content

Instantly share code, notes, and snippets.

@indrekj
Last active October 25, 2023 13:43
Show Gist options
  • Save indrekj/1fc3239ed192961ec918fa66d93a022d to your computer and use it in GitHub Desktop.
Save indrekj/1fc3239ed192961ec918fa66d93a022d to your computer and use it in GitHub Desktop.
FROM centos:7
# I've removed lualdap and lua-resty-ldap from rockspec/apisix-master-0.rockspec
# NB! Do not copy `deps` if they're present locally
COPY ./ /usr/local/apisix
WORKDIR /usr/local/apisix
RUN ./ci/centos7-ci.sh install_dependencies
RUN wget https://github.com/etcd-io/etcd/releases/download/v3.4.18/etcd-v3.4.18-linux-amd64.tar.gz && \
tar -xvf etcd-v3.4.18-linux-amd64.tar.gz && \
cd etcd-v3.4.18-linux-amd64 && \
sudo cp -a etcd etcdctl /usr/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment