fix Dockerfile.zefie, add docker.sh helper

This commit is contained in:
zefie committed 2026-11-05 15:21:41 -05:00
1 parent dc8b55b2b7
commit 31aede5014
2 files changed
+63 -5

No files matched your search

+7 -5
View File
@@ -159,10 +159,10 @@ RUN wget "https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL
# --- ncurses ---
ENV NCURSES_VERSION=6.6
RUN wget "https://ftp.gnu.org/gnu/ncurses/ncurses-${NCURSES_VERSION}.tar.gz" -O "ncurses-${NCURSES_VERSION}.tar.gz" && \
tar -zxf "ncurses-${NCURSES_VERSION}.tar.gz" && \
rm -f "ncurses-${NCURSES_VERSION}.tar.gz" && \
ENV NCURSES_SNAPSHOT_COMMIT=26ceb3cbd343d2e503ca21d90077143a12727c22
RUN git clone --depth=1 --revision "${NCURSES_SNAPSHOT_COMMIT}" "https://github.com/ThomasDickey/ncurses-snapshots.git" "ncurses-${NCURSES_VERSION}" && \
cd "ncurses-${NCURSES_VERSION}" && \
sed -i '1i #include <wchar.h>' ncurses/build.priv.h && \
${TOOLCHAIN_PREFIX}/wrapper.sh \
--with-fallbacks=ansi,xterm,xterm-256color \
--disable-database \
@@ -294,7 +294,7 @@ RUN wget "https://downloads.xiph.org/releases/vorbis/libvorbis-${LIBVORBIS_VERSI
tar -Jxf "libvorbis-${LIBVORBIS_VERSION}.tar.xz" && \
rm -f "libvorbis-${LIBVORBIS_VERSION}.tar.xz" && \
cd "libvorbis-${LIBVORBIS_VERSION}" && \
${TOOLCHAIN_PREFIX}/wrapper.sh --cmake -DBUILD_SHARED_LIBS=OFF && \
${TOOLCHAIN_PREFIX}/wrapper.sh --cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5 && \
cd /src && \
rm -rf "libvorbis-${LIBVORBIS_VERSION}" build-libvorbis && \
for f in $TARGET_TRIPLETS; do rm -rf "${TOOLCHAIN_PREFIX}/${f}/share/"{doc,man,info,examples}; done
@@ -381,6 +381,7 @@ RUN wget "https://github.com/libsndfile/libsndfile/releases/download/${LIBSNDFIL
-DBUILD_TESTING=OFF \
-DBUILD_PROGRAMS=OFF \
-DBUILD_EXAMPLES=OFF \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_C_FLAGS="-DFLAC__NO_DLL=1" && \
cd /src && \
rm -rf "libsndfile-${LIBSNDFILE_VERSION}" build-sndfile && \
@@ -396,6 +397,7 @@ RUN wget "https://github.com/libsndfile/libsamplerate/releases/download/${LIBSAM
-DBUILD_SHARED_LIBS=OFF \
-DBUILD_TESTING=OFF \
-DLIBSAMPLERATE_EXAMPLES=OFF \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_C_FLAGS="-DFLAC__NO_DLL=1" && \
cd /src && \
rm -rf "libsamplerate-${LIBSAMPLERATE_VERSION}" build-samplerate && \
@@ -473,4 +475,4 @@ RUN wget "https://sourceforge.net/projects/freeglut/files/freeglut/${FREEGLUT_VE
USER ubuntu
WORKDIR /src
CMD ["/bin/bash"]
CMD ["/bin/bash"]