Skip to content

Commit a5aadf2

Browse files
tjakeEduard Tudenhoefner
authored and
Eduard Tudenhoefner
committed
Fix dockerfile for dse
1 parent 009a38e commit a5aadf2

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Dockerfile-dse-68

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ ENV TINI_VERSION v0.18.0
1717
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
1818
RUN chmod +x /tini
1919

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

2325
# backwards compat with upstream ENTRYPOINT
2426
COPY dse-68/docker-entrypoint.sh /usr/local/bin/

dse-68/Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
FROM datastax/dse-server:6.8.0-ubi7-1
1+
FROM datastax/dse-server:6.8.0
22

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

79
ENV DS_LICENSE=accept
810
ENV PATH $DSE_HOME/bin:$PATH

0 commit comments

Comments
 (0)