Fix updating apt-get in Dockerfiles

This commit is contained in:
Nikita Lisitsa 2022-12-22 21:49:53 +03:00
parent b247566b09
commit 2349882abc
2 changed files with 2 additions and 6 deletions

View file

@ -1,9 +1,7 @@
FROM ubuntu:22.04
# Install tools
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y \
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
build-essential chrpath cmake git \
file wget zip \
libpng-dev libxext-dev libgl-dev libboost-all-dev libmpg123-dev \

View file

@ -1,9 +1,7 @@
FROM ubuntu:22.04
# Install tools
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y \
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
build-essential cmake git \
mingw-w64-x86-64-dev gcc-mingw-w64-x86-64-posix g++-mingw-w64-x86-64-posix \
libxext-dev libgl-dev \