diff --git a/Dockerfile b/Dockerfile index b257604b..80a50c20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,8 +29,9 @@ ENV DEBIAN_FRONTEND noninteractive ENV CRAWLAB_IS_DOCKER Y # install packages -RUN apt-get update \ - && apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget aptitude \ +RUN chmod 777 /tmp \ + && apt-get update \ + && apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget \ && ln -s /usr/bin/pip3 /usr/local/bin/pip \ && ln -s /usr/bin/python3 /usr/local/bin/python diff --git a/Dockerfile.local b/Dockerfile.local index b4513089..43cd874c 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -25,10 +25,13 @@ FROM ubuntu:latest # set as non-interactive ENV DEBIAN_FRONTEND noninteractive +# set CRAWLAB_IS_DOCKER +ENV CRAWLAB_IS_DOCKER Y + # install packages RUN chmod 777 /tmp \ && apt-get update \ - && apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget aptitude \ + && apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget \ && ln -s /usr/bin/pip3 /usr/local/bin/pip \ && ln -s /usr/bin/python3 /usr/local/bin/python