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
FROM openjdk:8-jdk-alpine
RUN apk add --no-cache py-pip && \
- echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
pip install cqlsh==4.0.1 && \
set -ex && \
pip install cqlsh && \
# Install Chef
RUN set -ex && \
apk add --no-cache \
+ linux-headers \
curl \
vim \
bash \
# Install Chef
RUN set -ex && \
- echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
apk update && \
apk add --no-cache \
jq \
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 \
# Install Chef
RUN set -ex && \
- echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
apk add --no-cache \
curl \
vim \