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 # Set up repositories
cat <<EOF >/etc/apk/repositories cat <<EOF >/etc/apk/repositories
http://repository.fit.cvut.cz/mirrors/alpine/v3.7/main http://dl-cdn.alpinelinux.org/alpine/v3.7/main
http://repository.fit.cvut.cz/mirrors/alpine/v3.7/community http://dl-cdn.alpinelinux.org/alpine/v3.7/community
#http://repository.fit.cvut.cz/mirrors/alpine/edge/main #http://dl-cdn.alpinelinux.org/alpine/edge/main
#http://repository.fit.cvut.cz/mirrors/alpine/edge/community #http://dl-cdn.alpinelinux.org/alpine/edge/community
#http://repository.fit.cvut.cz/mirrors/alpine/edge/testing #http://dl-cdn.alpinelinux.org/alpine/edge/testing
EOF EOF
# Install disk management tools # Install disk management tools

View File

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

View File

@ -6,7 +6,7 @@ RUN \
apk --no-cache add python2 apk --no-cache add python2
RUN \ RUN \
# Install runtime XML dependencies (shared with CKAN DataPusher) # Install runtime XML dependencies
apk --no-cache add libxml2 libxslt apk --no-cache add libxml2 libxslt
RUN \ RUN \
@ -15,7 +15,7 @@ RUN \
# Install build dependencies # 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 \ && 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 # 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 \ && apk --no-cache add geos \
# Hackfix for python find_library('c') call # Hackfix for python find_library('c') call
&& ln -s /lib/ld-musl-x86_64.so.1 /lib/libc.so.1 \ && ln -s /lib/ld-musl-x86_64.so.1 /lib/libc.so.1 \

View File

@ -11,7 +11,7 @@ RUN \
# Install build dependencies # Install build dependencies
&& apk --no-cache add --virtual .deps git build-base postgresql-dev python2-dev py2-pip zlib-dev \ && 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 # 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 \ && apk --no-cache add geos \
# Install CTS # Install CTS
&& git clone --depth 1 https://github.com/theirc/CTS /srv/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:70/postgres:x:5432:5432/' /etc/passwd \
&& sed -i 's/postgres:x:70/postgres:x:5432/' /etc/group \ && sed -i 's/postgres:x:70/postgres:x:5432/' /etc/group \
# Add edge/testing repository for postgis support # 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 # Install PostgreSQL + PostGIS
&& apk --no-cache add postgresql postgresql-contrib postgis \ && apk --no-cache add postgresql postgresql-contrib postgis \
# Create socket directory # Create socket directory