mirror of
https://github.com/soup-bowl/opensimulator-docker.git
synced 2026-07-30 11:33:45 +00:00
Refactor Dockerfile to remove multi-stage build and streamline installation process (#12)
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
|
||||
FROM soupbowl/wine-mono:6 AS mono-build
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
FROM soupbowl/wine-mono:6
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
LABEL \
|
||||
org.opencontainers.image.title="OpenSimulator (unofficial)" \
|
||||
@@ -12,14 +10,12 @@ LABEL \
|
||||
ARG OPENSIM_VERSION=0.9.2.2
|
||||
ARG OPENSIM_SHA1="b280d109cf04755a02db1c729af5a5e4160d1ce6"
|
||||
|
||||
# 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 \
|
||||
&& apt-get install --no-install-recommends -y \
|
||||
ca-certificates curl screen uuid-runtime libglib2.0-0 libgnutls30 tzdata libgdiplus libfontconfig1 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /opt/opensim-tmp \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& 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 - \
|
||||
&& tar xzf /opt/opensim-tmp/opensim.tar.gz -C /opt/opensim-tmp \
|
||||
|
||||
Reference in New Issue
Block a user