updated dockerfile

This commit is contained in:
Marvin Zhang
2021-11-04 11:05:04 +08:00
parent de6adb11a7
commit c4a73017d8
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ RUN chmod 777 /tmp \
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate nginx wget dumb-init cloc
# install python
RUN apt-get install python3 python3-pip \
RUN apt-get install -y python3 python3-pip \
&& ln -s /usr/bin/pip3 /usr/local/bin/pip \
&& ln -s /usr/bin/python3 /usr/local/bin/python

View File

@@ -33,7 +33,7 @@ RUN chmod 777 /tmp \
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate nginx wget dumb-init cloc
# install python
RUN apt-get install python3 python3-pip \
RUN apt-get install -y python3 python3-pip \
&& ln -s /usr/bin/pip3 /usr/local/bin/pip \
&& ln -s /usr/bin/python3 /usr/local/bin/python

View File

@@ -33,7 +33,7 @@ RUN chmod 777 /tmp \
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate nginx wget dumb-init cloc
# install python
RUN apt-get install python3 python3-pip \
RUN apt-get install -y python3 python3-pip \
&& ln -s /usr/bin/pip3 /usr/local/bin/pip \
&& ln -s /usr/bin/python3 /usr/local/bin/python