From 3e9b1fa4bda84111c7b07b174377697d6a7ed6e4 Mon Sep 17 00:00:00 2001 From: soup-bowl Date: Sat, 31 Jan 2026 20:55:09 +0000 Subject: [PATCH] Simplified Mono build. --- build/latest/Dockerfile.mono | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/build/latest/Dockerfile.mono b/build/latest/Dockerfile.mono index b8d0a7b..8618d60 100644 --- a/build/latest/Dockerfile.mono +++ b/build/latest/Dockerfile.mono @@ -1,8 +1,7 @@ FROM soupbowl/wine-mono:6 AS mono-build -FROM debian:bookworm-slim -ENV DEBIAN_FRONTEND=noninteractive +SHELL ["/bin/bash", "-o", "pipefail", "-c"] LABEL \ org.opencontainers.image.title="OpenSimulator (unofficial)" \ @@ -13,20 +12,13 @@ LABEL \ ARG OPENSIM_VERSION=0.9.2.2 ARG OPENSIM_SHA1="b280d109cf04755a02db1c729af5a5e4160d1ce6" -# Copy the built mono runtime from the build stage -COPY --from=mono-build /opt/mono /opt/mono - # Make mono available on PATH and install runtime utilities # hadolint ignore=DL3008 RUN apt-get update \ && apt-get install --no-install-recommends -y ca-certificates curl screen uuid-runtime libglib2.0-0 libgnutls30 tzdata libgdiplus libfontconfig1 \ - && ln -s /opt/mono/bin/mono /usr/local/bin/mono \ - && ln -s /opt/mono/bin/mono-sgen /usr/local/bin/mono-sgen || true \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -SHELL ["/bin/bash", "-o", "pipefail", "-c"] - RUN mkdir /opt/opensim-tmp \ && curl -o /opt/opensim-tmp/opensim.tar.gz "http://opensimulator.org/dist/opensim-${OPENSIM_VERSION}.tar.gz" \ && echo "${OPENSIM_SHA1} /opt/opensim-tmp/opensim.tar.gz" | sha1sum -c - \