You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
-47Lines changed: 0 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,57 +83,10 @@ Note the port that was selected by http-server and pass the build arguments, suc
83
83
84
84
Now the image can be built like normal and it will install mc-image-helper from the locally built copy.
85
85
86
-
## Multi-base-image variants
87
-
88
-
Several base-image variants are maintained in order to offer choices in JDK provider and version. The variants are maintained in their respective branches:
89
-
- openj9
90
-
- openj9-nightly
91
-
- adopt11
92
-
- adopt13
93
-
- multiarch
94
-
95
-
The [docker-versions-create.sh](docker-versions-create.sh) script is configured with the branches to maintain and is used to merge changes from the master branch into the mulit-base variant branches. The script also manages git tagging the master branch along with the merged branches. So a typical use of the script would be like:
96
-
97
-
```shell script
98
-
./docker-versions-create.sh -s -t 1.2.0
99
-
```
100
-
101
-
> Most often the major version will be bumped unless a bug or hotfix needs to be published in which case the patch version should be incremented.
102
-
103
-
> The build and publishing of those branches and their tags is currently performed within Docker Hub.
104
-
105
-
## multiarch support
106
-
107
-
The [multiarch branch](https://github.com/itzg/docker-minecraft-server/tree/multiarch) supports running the image on amd64, arm64, and armv7 (aka RaspberryPi). Unlike the mainline branches, it is based on Ubuntu 18.04 since the openjdk package provided by Ubuntu includes full JIT support on all of the processor types.
108
-
109
-
The multiarch images are built and published by [a Github action](https://github.com/itzg/docker-minecraft-server/actions?query=workflow%3A%22Build+and+publish+multiarch%22), which [is configured in that branch](https://github.com/itzg/docker-minecraft-server/blob/multiarch/.github/workflows/build-multiarch.yml).
110
-
111
86
## Generating release notes
112
87
113
88
The following git command can be used to provide the bulk of release notes content:
The following script uses the [ours](https://git-scm.com/docs/merge-strategies#Documentation/merge-strategies.txt-ours) merging strategy to track the history from master into the other branches without actually bringing the changes over. It is useful when a change is specific to master only, such as bumping the base Java version for the `latest` image tag.
121
-
122
-
```shell
123
-
branches=(
124
-
java8
125
-
java8-multiarch
126
-
java8-openj9
127
-
java11
128
-
java11-openj9
129
-
java16
130
-
java16-openj9
131
-
java17
132
-
)
133
-
134
-
forbin"${branches[@]}";do
135
-
git checkout "$b"
136
-
git merge -s ours -m "Track latest from master" master
0 commit comments