mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-03 12:28:39 +00:00
Group the two dep install commands together in Dockerfile
This commit is contained in:
+3
-2
@@ -5,11 +5,12 @@ WORKDIR /rgbds
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install sudo make cmake gcc build-essential -y
|
apt-get install sudo make cmake gcc build-essential -y
|
||||||
|
|
||||||
# Install dependencies and compile RGBDS
|
|
||||||
RUN ./.github/scripts/install-deps.sh debian
|
RUN ./.github/scripts/install-deps.sh debian
|
||||||
|
|
||||||
|
# Build RGBDS
|
||||||
RUN make -j "$(getconf _NPROCESSORS_ONLN)" CXXFLAGS="-O3 -flto -DNDEBUG -static" PKG_CONFIG="pkg-config --static" Q=
|
RUN make -j "$(getconf _NPROCESSORS_ONLN)" CXXFLAGS="-O3 -flto -DNDEBUG -static" PKG_CONFIG="pkg-config --static" Q=
|
||||||
|
|
||||||
# Create the install script
|
# Create the install script
|
||||||
|
|||||||
Reference in New Issue
Block a user