Skip to content

Commit

Permalink
Chore(Dockerfile): Update Dockerfile to take binaries from test-tool …
Browse files Browse the repository at this point in the history
…release build (#380)

Signed-off-by: udit <udit@chaosnative.com>
  • Loading branch information
uditgaurav authored Jun 15, 2021
1 parent 0fd14c2 commit b4bcbc0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,16 @@ ENV PUMBA_VERSION="0.7.7"
RUN curl -L https://github.com/alexei-led/pumba/releases/download/${PUMBA_VERSION}/pumba_linux_${TARGETARCH} --output /usr/local/bin/pumba && chmod +x /usr/local/bin/pumba

#Installing promql cli binaries
RUN curl -L https://github.com/litmuschaos/test-tools/raw/master/custom/promql-cli/promql-linux-${TARGETARCH} --output /usr/local/bin/promql && chmod +x /usr/local/bin/promql
RUN curl -L https://github.com/litmuschaos/test-tools/releases/download/1.13.6/promql-linux-${TARGETARCH} --output /usr/local/bin/promql && chmod +x /usr/local/bin/promql

#Installing nsutil cli binaries
RUN curl -L https://github.com/litmuschaos/test-tools/raw/master/custom/nsutil/nsutil --output /usr/local/bin/nsutil && chmod +x /usr/local/bin/nsutil
RUN curl -L https://github.com/litmuschaos/test-tools/releases/download/1.13.6/nsutil-linux-${TARGETARCH} --output /usr/local/bin/nsutil && chmod +x /usr/local/bin/nsutil

#Installing pause cli binaries
RUN curl -L https://github.com/litmuschaos/test-tools/releases/download/1.13.6/pause-linux-${TARGETARCH} --output /usr/local/bin/pause && chmod +x /usr/local/bin/pause

#Installing dns_interceptor cli binaries
RUN curl -L https://github.com/litmuschaos/test-tools/raw/master/custom/dns_interceptor/dns_interceptor --output /usr/local/bin/dns_interceptor && chmod +x /usr/local/bin/dns_interceptor
RUN curl -L https://github.com/litmuschaos/test-tools/releases/download/1.13.6/dns_interceptor --output /usr/local/bin/dns_interceptor && chmod +x /usr/local/bin/dns_interceptor

COPY --from=docker:19.03 /usr/local/bin/docker /usr/local/bin/

Expand All @@ -70,4 +73,4 @@ RUN adduser -D -S $USER \

USER $USER

WORKDIR /litmus
WORKDIR /litmus

0 comments on commit b4bcbc0

Please sign in to comment.