Do apt update before upgrade

This commit is contained in:
Sebastian Englbrecht
2021-06-17 18:58:51 +02:00
parent 3b695040d1
commit e810606317
+2 -1
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