mirror of
https://github.com/soup-bowl/opensimulator-docker.git
synced 2026-07-30 11:33:45 +00:00
Create Dockerfile
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
FROM docker.io/library/mono:latest
|
||||
|
||||
RUN curl -o /bin/wait-for-it https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh \
|
||||
&& chmod +x /bin/wait-for-it
|
||||
|
||||
RUN apt-get update && apt-get install -y screen
|
||||
|
||||
RUN mkdir /opt/opensim-tmp && curl http://opensimulator.org/dist/opensim-0.9.2.1.tar.gz | tar xzf - -C /opt/opensim-tmp
|
||||
RUN mkdir /opt/opensim && mv /opt/opensim-tmp/opensim*/* /opt/opensim
|
||||
|
||||
COPY Regions.ini /opt/opensim/bin/Regions/Regions.ini
|
||||
COPY OpenSim.ini /opt/opensim/bin/OpenSim.ini
|
||||
COPY StandaloneCommon.ini /opt/opensim/bin/config-include/StandaloneCommon.ini
|
||||
|
||||
EXPOSE 9000
|
||||
|
||||
WORKDIR /opt/opensim/bin
|
||||
|
||||
ENTRYPOINT [ "wait-for-it", "db:3306", "--", "mono", "./OpenSim.exe" ]
|
||||
Reference in New Issue
Block a user