Skip to content

Commit

Permalink
Update Dockerfile to use Debian 12 slim (#1599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 authored Jan 4, 2025
1 parent d829fd2 commit 727c1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:11-slim
FROM debian:12-slim
LABEL org.opencontainers.image.source=https://github.com/gbdev/rgbds
ARG version=0.9.0
WORKDIR /rgbds
Expand All @@ -8,7 +8,7 @@ COPY . .
RUN apt-get update && \
apt-get install sudo make cmake gcc build-essential -y

RUN ./.github/scripts/install_deps.sh ubuntu-20.04
RUN ./.github/scripts/install_deps.sh ubuntu-22.04
RUN make -j CXXFLAGS="-O3 -flto -DNDEBUG -static" PKG_CONFIG="pkg-config --static" Q=

RUN tar caf rgbds-${version}-linux-x86_64.tar.xz --transform='s#.*/##' rgbasm rgblink rgbfix rgbgfx man/* .github/scripts/install.sh

0 comments on commit 727c1f5

Please sign in to comment.