Code Review
/
sdc
/
sdc-docker-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[docker] use `--no-cache-dir` flag to `pip` in dockerfiles to save space
[sdc/sdc-docker-base.git]
/
base_sdc-cqlsh
/
Dockerfile
diff --git
a/base_sdc-cqlsh/Dockerfile
b/base_sdc-cqlsh/Dockerfile
index
a16552a
..
f49986e
100644
(file)
--- a/
base_sdc-cqlsh/Dockerfile
+++ b/
base_sdc-cqlsh/Dockerfile
@@
-8,12
+8,12
@@
RUN mkdir ~/.cassandra/ && \
USER root
RUN apk add --no-cache py-pip && \
USER root
RUN apk add --no-cache py-pip && \
- pip install cqlsh==5.0.4 && \
+ pip install
--no-cache-dir
cqlsh==5.0.4 && \
mkdir ~/.cassandra/ && \
echo '[cql]' > ~/.cassandra/cqlshrc && \
echo 'version=3.4.4' >> ~/.cassandra/cqlshrc && \
set -ex && \
mkdir ~/.cassandra/ && \
echo '[cql]' > ~/.cassandra/cqlshrc && \
echo 'version=3.4.4' >> ~/.cassandra/cqlshrc && \
set -ex && \
- pip install cqlsh && \
+ pip install
--no-cache-dir
cqlsh && \
apk add --no-cache \
bash \
build-base \
apk add --no-cache \
bash \
build-base \