summaryrefslogtreecommitdiffstats
path: root/base_sdc-python
diff options
context:
space:
mode:
authorTomasz Golabek <tomasz.golabek@nokia.com>2019-06-14 15:41:22 +0200
committerTomasz Golabek <tomasz.golabek@nokia.com>2019-06-19 11:19:02 +0200
commit8a3e3fc5dcc615044980586501c3a84031fc9513 (patch)
treed31eda0cc7397df28b2349ea075e4f89652fee8f /base_sdc-python
parent48a4933520594d8aca245f0963f4339b74764cf8 (diff)
Fixed Dockerfiles for base images
Dockerfiles for building base images of sdc components fixed. Change-Id: I50057d3edba1c06e6175e5cc547981efb11ecac3 Issue-ID: SDC-2367 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Diffstat (limited to 'base_sdc-python')
-rw-r--r--base_sdc-python/Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/base_sdc-python/Dockerfile b/base_sdc-python/Dockerfile
index 21d871e..f80ffe0 100644
--- a/base_sdc-python/Dockerfile
+++ b/base_sdc-python/Dockerfile
@@ -4,7 +4,8 @@ FROM python:2.7-alpine
ENV PYCURL_SSL_LIBRARY=openssl
# Install packages only needed for building
-RUN apk update && \
+RUN echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
+ apk update && \
apk add binutils jq libpng && \
apk add --no-cache \
libcurl \
@@ -12,7 +13,7 @@ RUN apk update && \
jq \
libressl-dev \
bash \
- ruby=2.5.2-r0 \
+ ruby=2.5.5-r0 \
ruby-dev \
libffi-dev \
libxml2-dev && \
@@ -26,8 +27,8 @@ RUN apk update && \
berkshelf:6.3.1 \
io-console:0.4.6 \
etc webrick \
- --no-document && \
- echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
+ --no-document
+