Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Install confluent cli tool instead of the soon to be EOL ccloud cli
Browse files Browse the repository at this point in the history
  • Loading branch information
wcarlsen committed Apr 27, 2022
1 parent 575c2e2 commit 5f955d6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ RUN apk add --update \
curl expect \
&& rm -rf /var/cache/apk/*

# Install ccloud cli tool
RUN curl -L https://s3-us-west-2.amazonaws.com/confluent.cloud/ccloud-cli/install.sh | sh -s -- -b /ccloud/bin
# Install confluent cli tool
RUN apk --no-cache add ca-certificates bash curl

ENV TIKA_CCLOUD_BIN_PATH="/ccloud/bin/ccloud"
ENV PATH "$PATH:/ccloud/bin"

RUN ccloud version
ENV CONFLUENT_CLI_VERSION="v2.12.0"
RUN curl -sL --http1.1 https://cnfl.io/cli | sh -s -- -b /usr/local/bin $CONFLUENT_CLI_VERSION

RUN confluent version

# Copy app & supporting scripts
COPY --from=Builder /app/dist/main.js /app/main.js
Expand Down

0 comments on commit 5f955d6

Please sign in to comment.