summaryrefslogtreecommitdiffstats
path: root/base_sdc-python/Dockerfile
diff options
context:
space:
mode:
authorDenis Kasanic <denis.kasanic@tieto.com>2019-09-20 13:22:41 +0200
committerDenis Kasanic <denis.kasanic@tieto.com>2019-09-20 14:02:41 +0200
commit6cdcb857261019e1dbd154fe6f27a68b124cfb4a (patch)
tree7fb2bf5e7b73ad40320bef5efe41a603cc195f6f /base_sdc-python/Dockerfile
parent639278ba4ddea0ca7402839bc2e49ac70f2e14ef (diff)
Fix build failure of base images5.0.2-ONAPelalto
Upgrade of Alpine linux version of the openjdk:8-jdk-alpine base image obsoleted usage of edge repositories. These repositories were causing build failures. Elasticsearch newly requires an installation of linux-headers package. This package is required to build dependencies for plugin berkshelf. Issue-ID: SDC-2581 Signed-off-by: Denis Kasanic <denis.kasanic@tieto.com> Change-Id: Ib71846d4d449f035cf7633c8ac786553364efef7
Diffstat (limited to 'base_sdc-python/Dockerfile')
-rw-r--r--base_sdc-python/Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/base_sdc-python/Dockerfile b/base_sdc-python/Dockerfile
index f80ffe0..353446c 100644
--- a/base_sdc-python/Dockerfile
+++ b/base_sdc-python/Dockerfile
@@ -4,8 +4,7 @@ FROM python:2.7-alpine
ENV PYCURL_SSL_LIBRARY=openssl
# Install packages only needed for building
-RUN echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
- apk update && \
+RUN apk update && \
apk add binutils jq libpng && \
apk add --no-cache \
libcurl \