From 1faf563acda9cef7f2eddb76b13d3775478638a1 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 11 May 2023 19:19:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c895a80..07411a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu:18.04 LABEL maintainer="Stefan Verhoeven " -ADD ./sources.list /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 && \ @@ -15,8 +13,11 @@ 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 install -y -q \ + apt-get update && apt-get install -y -q \ build-essential \ autoconf \ automake \