Replace CVUT Alpine repo with CDN as CVUT is down at the moment

This commit is contained in:
Disassembler 2017-12-28 09:45:21 +01:00
parent a3227e8c0b
commit 96e3bd4a5f
5 changed files with 10 additions and 10 deletions

View File

@ -6,11 +6,11 @@
# Set up repositories
cat <<EOF >/etc/apk/repositories
http://repository.fit.cvut.cz/mirrors/alpine/v3.7/main
http://repository.fit.cvut.cz/mirrors/alpine/v3.7/community
#http://repository.fit.cvut.cz/mirrors/alpine/edge/main
#http://repository.fit.cvut.cz/mirrors/alpine/edge/community
#http://repository.fit.cvut.cz/mirrors/alpine/edge/testing
http://dl-cdn.alpinelinux.org/alpine/v3.7/main
http://dl-cdn.alpinelinux.org/alpine/v3.7/community
#http://dl-cdn.alpinelinux.org/alpine/edge/main
#http://dl-cdn.alpinelinux.org/alpine/edge/community
#http://dl-cdn.alpinelinux.org/alpine/edge/testing
EOF
# Install disk management tools

View File

@ -6,7 +6,7 @@ RUN \
apk --no-cache add python2
RUN \
# Install runtime XML dependencies (shared with CKAN)
# Install runtime XML dependencies
apk --no-cache add libxml2 libxslt
RUN \

View File

@ -6,7 +6,7 @@ RUN \
apk --no-cache add python2
RUN \
# Install runtime XML dependencies (shared with CKAN DataPusher)
# Install runtime XML dependencies
apk --no-cache add libxml2 libxslt
RUN \
@ -15,7 +15,7 @@ RUN \
# Install build dependencies
&& apk --no-cache add --virtual .deps git build-base libjpeg-turbo-dev libxml2-dev libxslt-dev postgresql-dev python2-dev zlib-dev \
# Add edge/testing repository for postgis (geos) support
&& echo 'http://repository.fit.cvut.cz/mirrors/alpine/edge/testing' >>/etc/apk/repositories \
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
&& apk --no-cache add geos \
# Hackfix for python find_library('c') call
&& ln -s /lib/ld-musl-x86_64.so.1 /lib/libc.so.1 \

View File

@ -11,7 +11,7 @@ RUN \
# Install build dependencies
&& apk --no-cache add --virtual .deps git build-base postgresql-dev python2-dev py2-pip zlib-dev \
# Add edge/testing repository for postgis (geos) support
&& echo 'http://repository.fit.cvut.cz/mirrors/alpine/edge/testing' >>/etc/apk/repositories \
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
&& apk --no-cache add geos \
# Install CTS
&& git clone --depth 1 https://github.com/theirc/CTS /srv/cts \

View File

@ -6,7 +6,7 @@ RUN \
sed -i 's/postgres:x:70:70/postgres:x:5432:5432/' /etc/passwd \
&& sed -i 's/postgres:x:70/postgres:x:5432/' /etc/group \
# Add edge/testing repository for postgis support
&& echo 'http://repository.fit.cvut.cz/mirrors/alpine/edge/testing' >>/etc/apk/repositories \
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
# Install PostgreSQL + PostGIS
&& apk --no-cache add postgresql postgresql-contrib postgis \
# Create socket directory