blob: a16552a4dafa8c1681b0ce7dad4d4dee1c2d556a [file] [log] [blame]
FROM openjdk:8-jdk-alpine
RUN addgroup -g 1000 sdc && adduser -S -u 1000 -G sdc -s /bin/sh sdc
USER sdc
RUN mkdir ~/.cassandra/ && \
echo '[cql]' > ~/.cassandra/cqlshrc && \
echo 'version=3.4.4' >> ~/.cassandra/cqlshrc
USER root
RUN apk add --no-cache py-pip && \
pip install cqlsh==5.0.4 && \
mkdir ~/.cassandra/ && \
echo '[cql]' > ~/.cassandra/cqlshrc && \
echo 'version=3.4.4' >> ~/.cassandra/cqlshrc && \
set -ex && \
pip install cqlsh && \
apk add --no-cache \
bash \
build-base \
ruby=2.5.8-r0 \
ruby-dev \
libffi-dev \
libxml2-dev && \
gem install chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 etc webrick --no-document && \
apk update && \
apk add binutils \
libtasn1
USER sdc