Do apt update before upgrade

This commit is contained in:
Sebastian Englbrecht 2021-06-17 18:58:51 +02:00 committed by Blake Blackshear
parent d83ffd8984
commit 9b3a649f17

View File

@ -14,7 +14,8 @@ RUN groupadd --gid $USER_GID $USERNAME \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
RUN apt-get install -y git curl vim htop
RUN apt-get update \
&& apt-get install -y git curl vim htop
RUN pip3 install pylint black