Misc: Update Docker README

This commit is contained in:
funjoker committed 2023-05-19 21:50:49 +02:00
1 parent 1abadc2cb2
commit 992082ebb5
1 file changed
+6 -10
+6 -10
View File
@@ -1,25 +1,21 @@
# Docker
The Circle CI Linux pch job uses the Dockerfile contained in the same folder as this README to create an image with the binaries built for Linux, and stores that in the job artifacts. For the 3.3.5 and master branches, it also pushes the images to https://hub.docker.com/r/trinitycore/trinitycore .
The Circle CI Linux pch job uses the Dockerfile contained in the same folder as this README to create an image with the binaries built for Linux, and stores that in the job artifacts. For the master branches, it also pushes the images to https://hub.docker.com/r/cataclysmpreservationproject/trinitycore .
The instructions below expect a basic knowledge of how to configure TrinityCore and how to use Docker.
## Load the Docker image
For the 3.3.5 and master branches, it's possible to pull the images from DockerHub.
- For latest 3.3.5, use the following command:
```
docker pull trinitycore/trinitycore:3.3.5
```
For the master branch, it's possible to pull the images from DockerHub.
- For latest master, use the following command:
```
docker pull trinitycore/trinitycore:master
docker pull cataclysmpreservationproject/trinitycore:master
```
- For a specific 3.3.5 or master commit, use the following command, replacing "commit_hash" with the hash of the commit:
- For a specific master commit, use the following command, replacing "commit_hash" with the hash of the commit:
```
docker pull trinitycore/trinitycore:commit_hash
docker pull cataclysmpreservationproject/trinitycore:commit_hash
```
For Pull Requests or branches other than 3.3.5 or master, follow the steps below to load the image from Circle CI:
For Pull Requests or branches other than master, follow the steps below to load the image from Circle CI:
1. Click the green tick ✔ next to each commit.
1. Scroll to "ci/circleci: pch" and click "Details".
1. Log in to Circle CI if necessary. You may have to repeat the previous steps after logging in, to reach the correct page.