ARG DEBIAN_CODENAME=bookworm FROM docker.io/library/debian:${DEBIAN_CODENAME} ADD http://worldclockapi.com/api/json/utc/now /etc/builddate RUN apt-get update RUN --mount=type=cache,target=/var/cache/apt apt-get upgrade -y RUN --mount=type=cache,target=/var/cache/apt apt-get install -y build-essential cmake git libsoundtouch-dev libsdl2-dev libsdl2-image-dev libogg-dev libvorbis-dev libflac-dev libavcodec-dev libswresample-dev libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev libmpg123-dev libwavpack-dev libmodplug-dev libfluidsynth-dev libgme-dev libxmp-dev zlib1g-dev libpng-dev libgtkmm-4.0-dev libjsoncpp-dev libsdbus-c++-dev libportal-dev automake autoconf libsdbus-c++-bin autotools-dev libtool-bin libtool libssl-dev VOLUME [ "/src" ] CMD [ "/src/build-docker.sh", "in-docker" ]