更新 'Dockerfile'

master
zhongjin 1 year ago
parent cd563ca008
commit 9eebcde975

@ -4,6 +4,9 @@
FROM ubuntu:18.04 FROM ubuntu:18.04
LABEL maintainer="Stefan Verhoeven <s.verhoeven@esciencecenter.nl>" LABEL maintainer="Stefan Verhoeven <s.verhoeven@esciencecenter.nl>"
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 # Configuring locales
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y -q apt-utils software-properties-common locales && dpkg-reconfigure locales && \ 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 LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
ADD ./sources.list /etc/apt/sources.list
RUN useradd -m -d /home/cartodb -s /bin/bash cartodb && \ 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 \ build-essential \
autoconf \ autoconf \
automake \ automake \

Loading…
Cancel
Save