Skip to content

Commit

Permalink
Fix dockerfile for dse
Browse files Browse the repository at this point in the history
  • Loading branch information
tjake authored and Eduard Tudenhoefner committed Jun 22, 2020
1 parent 009a38e commit a5aadf2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Dockerfile-dse-68
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ ENV TINI_VERSION v0.18.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini

RUN microdnf update -y && rm -rf /var/cache/yum
RUN microdnf install wget procps python iproute net-tools -y && microdnf clean all
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends wget; \
rm -rf /var/lib/apt/lists/*

# backwards compat with upstream ENTRYPOINT
COPY dse-68/docker-entrypoint.sh /usr/local/bin/
Expand Down
8 changes: 5 additions & 3 deletions dse-68/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM datastax/dse-server:6.8.0-ubi7-1
FROM datastax/dse-server:6.8.0

USER root
RUN microdnf update && rm -rf /var/cache/yum && \
microdnf install libjemalloc1 procps python iproute2 numactl iproute2 net-tools && microdnf clean all
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends wget; \
rm -rf /var/lib/apt/lists/*

ENV DS_LICENSE=accept
ENV PATH $DSE_HOME/bin:$PATH
Expand Down

0 comments on commit a5aadf2

Please sign in to comment.