mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-04-27 15:59:26 +00:00
Support multiple values for COPY_PLUGINS_SRC, COPY_MODS_SRC, and COPY_CONFIG_SRC (#3377)
This commit is contained in:
5
examples/paper/paper-build-plugins/Dockerfile
Normal file
5
examples/paper/paper-build-plugins/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM itzg/minecraft-server
|
||||
|
||||
ENV TYPE=PAPER
|
||||
|
||||
COPY plugins/*.jar /plugins/
|
||||
9
examples/paper/paper-build-plugins/docker-compose.yml
Normal file
9
examples/paper/paper-build-plugins/docker-compose.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
mc:
|
||||
build: .
|
||||
environment:
|
||||
EULA: "TRUE"
|
||||
ports:
|
||||
- 25565:25565
|
||||
stdin_open: true
|
||||
tty: true
|
||||
1
examples/paper/paper-build-plugins/plugins/.gitignore
vendored
Normal file
1
examples/paper/paper-build-plugins/plugins/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.jar
|
||||
1
examples/paper/paper-build-plugins/plugins/README.md
Normal file
1
examples/paper/paper-build-plugins/plugins/README.md
Normal file
@@ -0,0 +1 @@
|
||||
Download Bukkit/Spigot plugin jars, such as [WorldEdit](https://dev.bukkit.org/projects/worldedit/files) and place them here. At image build time the `COPY` step will place those jars in `/plugins`. At container startup, the contents of `/plugins` are sync'ed into `/data/plugins` for use with Bukkit/Spigot/Paper server types.
|
||||
Reference in New Issue
Block a user