Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RedisTimeSeries Build using default Dockerfile -> No rule to make target 'fetch'. Stop #1567

Open
Dwijad opened this issue Dec 31, 2023 · 0 comments

Comments

@Dwijad
Copy link

Dwijad commented Dec 31, 2023

Hi
I am trying to builld RedisTimeSeries using the default Dockerfile that is shipped with the release. However, i am getting the error #17 [builder 8/8] RUN make fetch build #17 1.568 make: *** No rule to make target 'fetch'. Stop.

Like to know what should i do to make it work ?

Dockerfile

#----------------------------------------------------------------------------------------------
FROM redis:bullseye AS redis
FROM debian:bullseye-slim AS builder

SHELL ["/bin/bash", "-l", "-c"]

WORKDIR /build
COPY --from=redis /usr/local/ /usr/local/

ADD . /build
#RUN apt-get update && apt-get install -y apt-transport-https
#RUN apt-get install -y wget make pkg-config build-essential

RUN ./deps/readies/bin/getupdates
RUN ./sbin/setup
RUN pwd
RUN make fetch build

#----------------------------------------------------------------------------------------------
FROM redis:bullseye

WORKDIR /data
RUN mkdir -p /usr/lib/redis/modules

COPY --from=builder /build/bin/redistimeseries.so /usr/lib/redis/modules/

EXPOSE 6379
CMD ["redis-server", "--loadmodule", "/usr/lib/redis/modules/redistimeseries.so"]

Logs

#15 [builder 6/8] RUN ./sbin/setup
#15 37.94 apt-get -qq update -y
#15 39.89 # readies version: ?
#15 39.89 apt-get -qq install --fix-missing -y ca-certificates
#15 41.84 apt-get -qq install --fix-missing -y curl
#15 45.37 apt-get -qq install --fix-missing -y wget unzip
#15 48.00 apt-get -qq install --fix-missing -y git jq
#15 56.70 /build/deps/readies/bin/enable-utf8
#15 56.74 apt-get -qq install --fix-missing -y autoconf libtool m4 automake
#15 73.92 apt-get -qq install --fix-missing -y openssl
#15 75.80 /build/deps/readies/bin/getgcc --modern
#15 87.22 apt-get -qq install --fix-missing -y libssl-dev
#15 90.34 apt-get -qq install --fix-missing -y valgrind
#15 114.8 /usr/bin/python3 /build/deps/readies/bin/getcmake --usr
#15 129.8 apt-get -qq install --fix-missing -y lcov
#15 133.1 /build/deps/readies/bin/getaws
#15 153.5 /usr/bin/python3 /build/deps/readies/bin/getrmpytools --reinstall --modern
#15 172.8 /usr/bin/python3 -m pip install --disable-pip-version-check --user  -r /build/tests/flow/requirements.txt
#15 180.5 NO_PY2=1 /build/deps/readies/bin/getpudb
#15 201.5 debian_gnu_linux_11
#15 DONE 201.8s

#16 [builder 7/8] RUN pwd
#16 0.632 /build
#16 DONE 0.6s

#17 [builder 8/8] RUN make fetch build
#17 1.568 make: *** No rule to make target 'fetch'.  Stop.
#17 ERROR: process "/bin/bash -l -c make fetch build" did not complete successfully: exit code: 2
------
 > [builder 8/8] RUN make fetch build:
1.568 make: *** No rule to make target 'fetch'.  Stop.
------
Dockerfile:18
--------------------
  16 |     RUN ./sbin/setup
  17 |     RUN pwd
  18 | >>> RUN make fetch build
  19 |     
  20 |     #----------------------------------------------------------------------------------------------
--------------------
ERROR: failed to solve: process "/bin/bash -l -c make fetch build" did not complete successfully: exit code: 2

Thanks

@Dwijad Dwijad changed the title RedisTimeSeries Build using Dockerfile -> No rule to make target 'fetch'. Stop RedisTimeSeries Build using default Dockerfile -> No rule to make target 'fetch'. Stop Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant