Yuli Shlosberg | e11dc23 | 2018-01-29 16:19:52 +0200 | [diff] [blame] | 1 | FROM openjdk:8-jdk-alpine |
| 2 | |
MichaelMorris | bf71d49 | 2020-03-06 16:50:50 +0000 | [diff] [blame] | 3 | RUN addgroup -g 1000 sdc && adduser -S -u 1000 -G sdc -s /bin/sh sdc |
| 4 | USER sdc |
| 5 | RUN mkdir ~/.cassandra/ && \ |
| 6 | echo '[cql]' > ~/.cassandra/cqlshrc && \ |
| 7 | echo 'version=3.4.4' >> ~/.cassandra/cqlshrc |
| 8 | USER root |
| 9 | |
Michael Lando | c789e6f | 2018-05-03 18:05:37 +0300 | [diff] [blame] | 10 | RUN apk add --no-cache py-pip && \ |
Pratik raj | 31fdee5 | 2020-12-30 12:28:02 +0530 | [diff] [blame] | 11 | pip install --no-cache-dir cqlsh==5.0.4 && \ |
shrek2000 | c0e96b5 | 2019-10-29 09:38:53 +0200 | [diff] [blame] | 12 | mkdir ~/.cassandra/ && \ |
shrek2000 | 7adc378 | 2019-11-14 15:34:40 +0200 | [diff] [blame] | 13 | echo '[cql]' > ~/.cassandra/cqlshrc && \ |
| 14 | echo 'version=3.4.4' >> ~/.cassandra/cqlshrc && \ |
Michael Lando | c789e6f | 2018-05-03 18:05:37 +0300 | [diff] [blame] | 15 | set -ex && \ |
Pratik raj | 31fdee5 | 2020-12-30 12:28:02 +0530 | [diff] [blame] | 16 | pip install --no-cache-dir cqlsh && \ |
Tal Gitelman | d18094d | 2018-10-29 19:51:30 +0200 | [diff] [blame] | 17 | apk add --no-cache \ |
| 18 | bash \ |
| 19 | build-base \ |
vasraz | e373c54 | 2020-05-05 12:31:39 +0100 | [diff] [blame] | 20 | ruby=2.5.8-r0 \ |
Tal Gitelman | d18094d | 2018-10-29 19:51:30 +0200 | [diff] [blame] | 21 | ruby-dev \ |
| 22 | libffi-dev \ |
| 23 | libxml2-dev && \ |
| 24 | gem install chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 etc webrick --no-document && \ |
Gary Wu | f2da63d | 2018-05-07 17:21:22 -0700 | [diff] [blame] | 25 | apk update && \ |
Tal Gitelman | d18094d | 2018-10-29 19:51:30 +0200 | [diff] [blame] | 26 | apk add binutils \ |
| 27 | libtasn1 |
MichaelMorris | bf71d49 | 2020-03-06 16:50:50 +0000 | [diff] [blame] | 28 | USER sdc |