aurora4x-docker

所属分类:数据库系统
开发工具:Dockerfile
文件大小:0KB
下载次数:0
上传日期:2023-04-19 02:22:57
上 传 者sh-1993
说明:  通过web浏览器访问Aurora4x(C#)的Docker容器。,
(A Docker container with Aurora4x (C#) accessible via a web-browser.,)

文件列表:
.dockerignore (13, 2023-12-15)
Aurora.desktop (124, 2023-12-15)
Dockerfile (5641, 2023-12-15)
blank.rar (0, 2023-12-15)
blank.zip (1, 2023-12-15)
sqlite-netFx-source-1.0.118.0.zip (8344217, 2023-12-15)

# aurora4x-docker ![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/firefly2442/aurora4x-docker/ci.yml?branch=master) A Docker container with [Aurora4x (C#)](http://aurora2.pentarch.org/) accessible via a web-browser. ## Prerequisites * Install [Docker](https://www.docker.com/) ## Install Prebuilt Docker Image ```shell docker pull ghcr.io/firefly2442/aurora4x-docker:latest ``` Images are hosted on [Github Container Registry](https://github.com/firefly2442/aurora4x-docker/pkgs/container/aurora4x-docker). ## Building From Scratch ```shell docker build . -t ghcr.io/firefly2442/aurora4x-docker:latest ``` ## Running Use the most recent patch and find the `AuroraDB.db` file. Place this in the sourcecode folder or wherever you're wanting to start it up. Change this: `/home/username/src/aurora4x-docker/AuroraDB.db` in the below command to the full path to your `AuroraDB.db` file. This will allow saving via Docker to persist on your local disk. ```shell docker run -p 6080:3000 --name=aurora4x-docker -v /dev/shm:/dev/shm -v /home/username/src/aurora4x-docker/AuroraDB.db:/root/AuroraDB.db ghcr.io/firefly2442/aurora4x-docker ``` Open [http://localhost:6080](http://localhost:6080) Double-click the `Aurora4x` icon on the desktop and then select execute. ## Security Depending on where you are running this and/or your network settings, this container could be visible to the outside world. Be careful that this not be used as an attack vector onto your systems. ## Why Docker Since the sourcecode to Aurora4x hasn't been released, we can't compile it for other systems. This allows people on Mac and Linux to play too. There are some "hacky" things that need to be done to the underlying libraries. This prevents you from needing to do these on your base Linux system and potentially hosing it. ## For Developers * Copy `*.rar` files (full install, patches, etc.) into the cloned code to be copied over to the container during the build. This prevents constantly hitting the pentarch.org servers and sucking up bandwidth. * Get into the running container with `docker exec -it aurora4x-docker /bin/bash` or just open up the `LXTerminal` app. * Use `docker system prune` since the intermediate layers, particularly in the builder are huge. * Use `docker image ls` to see image sizes. * Use the [Dive](https://github.com/wagoodman/dive) program to help debug the image size, `dive ghcr.io/firefly2442/aurora4x-docker`. * Use [Trivy](https://github.com/aquasecurity/trivy) for manual image vulnerability scanning, e.g. `trivy image --ignore-unfixed ghcr.io/firefly2442/aurora4x-docker:latest` ## Support * With the UI hacks needed as well as running things through Mono, please replicate any bugs you find on a plain Windows install of Aurora4x. This helps Steve keep track of legitimate bugs and prevents any false-positives. * `#aurora-linux` channel on Discord * [Aurora forums](http://aurora2.pentarch.org/) ## Thanks To * `twice2double` - for start of Dockerfile * `cpw` - for font scaling hack * Everyone else on `#aurora-linux` I forgot...

近期下载者

相关文件


收藏者