Closed fr3fou closed 2 years ago
Hi @fr3fou!
Sorry for the inconvenience, it didn't work for the M1 right now but I can propose to you this dockerfile
:
FROM ubuntu
WORKDIR /meilisearch
RUN apt-get update
RUN apt-get install -y\
libc6-dev\
wget\
tini
RUN wget --quiet -O meilisearch https://github.com/meilisearch/MeiliSearch/releases/download/v0.24.0/meilisearch-linux-armv8 \
&& chmod +x meilisearch
ENV MEILI_HTTP_ADDR=0.0.0.0:7700
EXPOSE 7700/tcp
ENTRYPOINT ["tini", "--"]
CMD ./meilisearch
Let me know if it works for you.
Doesn't seem to build
It's failed while fetching dependency you can try to add:
apt-get update --no-cache
and see if it's passed.
--no-cache
doesn't seem to be a valid flag for apt-get update
Indeed ... You have already tried with the --fix-missing
flag from the error?
Yeah I did,
Ok, I'm sorry I just see that I made a mistake the --no-cache
flag is for docker ... I wrote too quickly
Yeah, that seems to have worked – the Pod is now running, why though?
It's du to build caching, if you don't use -rm
or --no-cache
flag Docker will reuse the intermediate image created the last time RUN apt-get -y update executed instead of running the command again.
I closed this issue then
I was asking why does the Dockerfile you sent work but mine doesn't ^^
Sorry I misunderstood. I don't know exactly. We should try to run some tests to see where the problem came from.
I tried running the Helm Chart with
This is the
server_meilisearch
Dockerfile image that was passed into minikube usingminikube image load server_meilisearch
This also occurs on other versions of MeiliSearch.