diff --git a/Dockerfile b/Dockerfile index 34b2ab6..d73da68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,9 @@ FROM ubuntu:18.04 LABEL maintainer="Stefan Verhoeven " +RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list +RUN sed -i 's/security.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list + # Configuring locales ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get install -y -q apt-utils software-properties-common locales && dpkg-reconfigure locales && \ @@ -13,11 +16,8 @@ ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 -ADD ./sources.list /etc/apt/sources.list - - RUN useradd -m -d /home/cartodb -s /bin/bash cartodb && \ - apt-get update && apt-get install -y -q \ + apt-get install -y -q \ build-essential \ autoconf \ automake \