Fix updating apt-get in Dockerfiles
This commit is contained in:
parent
b247566b09
commit
2349882abc
2 changed files with 2 additions and 6 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue