Hi,

I'm trying with my local installed Apache APISIX.

Below are the steps.
1) Clone the repository#
git clone https://github.com/apache/apisix-docker.git
cd apisix-docker
2) Build an image from locally customized/patched source code#"
docker build -t apisix-dev-local -f /path/to/debian-dev/Dockerfile.local  .

For Step 2 : I'm getting below error.

=> ERROR [linux/amd64 build 4/4] RUN set -x     && apt-get -y update
--fix-missing     && apt-get install -y         make         git
  sudo     && ls -al     && make deps     && m  51.3s

ERR: failed to solve: process "/bin/sh -c set -x     && apt-get -y update
--fix-missing     && apt-get install -y         make         git
  sudo     && ls -al     && make deps     && mkdir -p ${ENV_INST_LUADIR}
  && cp -r deps ${ENV_INST_LUADIR}     && make install" did not complete
successfully: exit code: 2

Do we need to update anything in the Docker.local file ?

Thanks,
Shyamala

On Thu, Feb 29, 2024 at 8:29 PM Zhiyuan Ju <juzhiy...@apache.org> wrote:

> Can you please send the complete steps, including your environment? Or we
> have no idea how to reproduce it.
>
> On Fri, Mar 1, 2024 at 9:26 AM shyamala b p <bpshyamala...@gmail.com>
> wrote:
>
> > Hi All,
> >
> > Can you please help on the below issue.
> >
> > APISIX documentation : https://apisix.apache.org/docs/docker/build/
> >
> > When I try to run "docker build -t apisix-dev-local -f
> > /path/to/debian-dev/Dockerfile.local  ."  from the "Build an image from
> > locally customized/patched source code#", I'm getting the below error.
> > Can you please help to fix this issue to be fixed.
> >
> >
> > => ERROR [linux/amd64 build 4/4] RUN set -x     && apt-get -y update
> > --fix-missing     && apt-get install -y         make         git
> > sudo
> >     && ls -al     && make deps     && m  51.3s
> >
> > ERR: failed to solve: process "/bin/sh -c set -x     && apt-get -y update
> > --fix-missing     && apt-get install -y         make         git
> > sudo
> >     && ls -al     && make deps     && mkdir -p ${ENV_INST_LUADIR}     &&
> cp
> > -r deps ${ENV_INST_LUADIR}     && make install" did not complete
> > successfully: exit code: 2
> >
> >
> > Thanks,
> >
> > Shyamala
> >
>

Reply via email to