Skip to content

Commit

Permalink
Moving CDC agent to /opt/cdc_agent/cdc-agent.jar for all agent versio…
Browse files Browse the repository at this point in the history
…ns and all C*/DSE versions.
  • Loading branch information
Miles-Garnsey committed Jul 5, 2022
1 parent 1415364 commit c829419
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-4_0
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN mkdir ${USER_HOME_PATH}
ENV CDC_AGENT_PATH=/opt/cdc_agent
RUN mkdir ${CDC_AGENT_PATH} && \
curl -L -O "https://github.com/datastax/cdc-apache-cassandra/releases/download/v${CDC_AGENT_VERSION}/${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar" && \
mv ${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar ${CDC_AGENT_PATH}
mv ${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar ${CDC_AGENT_PATH}/cdc-agent.jar

FROM cassandra:${CASSANDRA_VERSION} as oss40

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-dse-68
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN mvn -q -ff package -DskipTests -Pdse
ENV CDC_AGENT_PATH /opt/cdc_agent
RUN mkdir ${CDC_AGENT_PATH} && \
curl -L -O "https://github.com/datastax/cdc-apache-cassandra/releases/download/v${CDC_AGENT_VERSION}/${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar" && \
mv ${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar ${CDC_AGENT_PATH}
mv ${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar ${CDC_AGENT_PATH}/cdc-agent.jar


FROM datastax/dse-server:${CASSANDRA_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-oss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN mkdir ${MCAC_PATH} && \
ENV CDC_AGENT_PATH=/opt/cdc_agent
RUN mkdir ${CDC_AGENT_PATH} && \
curl -L -O "https://github.com/datastax/cdc-apache-cassandra/releases/download/v${CDC_AGENT_VERSION}/${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar" && \
mv ${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar ${CDC_AGENT_PATH}
mv ${CDC_AGENT_EDITION}-${CDC_AGENT_VERSION}-all.jar ${CDC_AGENT_PATH}/cdc-agent.jar

ENV USER_HOME_PATH /home/cassandra
RUN mkdir ${USER_HOME_PATH}
Expand Down

0 comments on commit c829419

Please sign in to comment.