Use tag for edge repository

This commit is contained in:
Disassembler 2018-01-27 22:46:45 +01:00
parent 6ee04fcb71
commit f0ec1794ca
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
3 changed files with 9 additions and 12 deletions

View File

@ -10,11 +10,10 @@ RUN \
apk --no-cache add libxml2 libxslt
RUN \
# Add edge/testing repository
echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
# Install runtime dependencies
apk --no-cache add libjpeg-turbo libmagic libpq py2-pip zlib \
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
&& apk --no-cache add geos \
&& sed -i '$ d' /etc/apk/repositories
&& apk --no-cache add geos@edge libjpeg-turbo libmagic libpq py2-pip zlib
RUN \
# Install build dependencies

View File

@ -6,11 +6,10 @@ RUN \
apk --no-cache add python2
RUN \
# Add edge/testing repository
echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
# Install runtime dependencies
apk --no-cache add libpq zlib \
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
&& apk --no-cache add geos \
&& sed -i '$ d' /etc/apk/repositories
&& apk --no-cache add geos@edge libpq zlib
RUN \
# Install build dependencies

View File

@ -10,11 +10,10 @@ RUN \
apk --no-cache add libxml2 libxslt
RUN \
# Add edge/testing repository
echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
# Install runtime dependencies
apk --no-cache add py2-dateutil py2-lxml py2-numpy py2-pillow py2-psycopg2 py2-requests \
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
&& apk --no-cache add geos py-gdal \
&& sed -i '$ d' /etc/apk/repositories
&& apk --no-cache add geos@edge py-gdal@edge py2-dateutil py2-lxml py2-numpy py2-pillow py2-psycopg2 py2-requests
RUN \
# Install build dependencies