Skip to content

Commit 823056b

Browse files
committed
Removed sudo commands from Dockerfile as they are failing the dockerhuib build
1 parent 17b7cfe commit 823056b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cassandra/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ RUN rm /tmp/oracle-license-debconf
2424
RUN apt-get install -y oracle-java8-installer oracle-java8-set-default
2525
RUN apt-get update
2626

27-
RUN echo "deb http://debian.datastax.com/datastax-ddc $CASSANDRA_VERSION main" | sudo tee -a etc/apt/sources.list.d/cassandra.sources.list
28-
RUN curl -L https://debian.datastax.com/debian/repo_key | sudo apt-key add -
27+
RUN echo "deb http://debian.datastax.com/datastax-ddc $CASSANDRA_VERSION main" | tee -a etc/apt/sources.list.d/cassandra.sources.list
28+
RUN curl -L https://debian.datastax.com/debian/repo_key | apt-key add -
2929
RUN apt-get update && apt-get -y install datastax-ddc
3030

3131
# Copy Cassandra Startup Scripts

0 commit comments

Comments
 (0)