This repository has been archived by the owner on Apr 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Dockerfile for debug - Added Dockerfile for master - Added Dockerfile for server
- Loading branch information
0 parents
commit f530088
Showing
4 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# syntax=docker/dockerfile:1.4.1 | ||
FROM alpine:3.16.0 | ||
|
||
RUN addgroup --gid 1001 multipaper && \ | ||
adduser --home /multipaper --uid 1001 -S -G multipaper multipaper | ||
|
||
RUN apk add --no-cache --update libintl=0.21-r2 && \ | ||
apk add --no-cache --virtual build_deps gettext=0.21-r2 && \ | ||
cp /usr/bin/envsubst /usr/local/bin/envsubst && \ | ||
apk del build_deps | ||
|
||
USER multipaper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# syntax=docker/dockerfile:1.4.1 | ||
FROM openjdk:17-alpine3.14 | ||
|
||
ARG MULTIPAPER_VERSION=1.18.2 | ||
ARG MULTIPAPER_BUILD=65 | ||
ARG MASTER_VERSION=2.8.4 | ||
|
||
RUN addgroup --gid 1001 multipaper && \ | ||
adduser --home /multipaper --uid 1001 -S -G multipaper multipaper | ||
|
||
WORKDIR /multipaper | ||
|
||
USER multipaper | ||
ADD --chown=multipaper:multipaper https://multipaper.io/api/v2/projects/multipaper/versions/$MULTIPAPER_VERSION/builds/$MULTIPAPER_BUILD/downloads/MultiPaper-Master-$MASTER_VERSION-all.jar multipaper-master.jar | ||
|
||
EXPOSE 35353/tcp | ||
EXPOSE 25565/tcp | ||
|
||
CMD ["java", "-jar", "multipaper-master.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# syntax=docker/dockerfile:1.4.1 | ||
FROM openjdk:17-alpine3.14 | ||
|
||
RUN addgroup --gid 1001 multipaper && \ | ||
adduser --home /multipaper --uid 1001 -S -G multipaper multipaper | ||
|
||
ARG VERSION=1.18.2 | ||
ARG BUILD=65 | ||
ARG FULL_VERSION="$VERSION-$BUILD" | ||
|
||
WORKDIR /multipaper | ||
|
||
USER multipaper | ||
ADD --chown=multipaper:multipaper https://multipaper.io/api/v2/projects/multipaper/versions/$VERSION/builds/$BUILD/downloads/multipaper-$FULL_VERSION.jar multipaper.jar | ||
|
||
EXPOSE 25565/tcp | ||
|
||
CMD ["java", "-jar", "multipaper.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# MultiPaper images | ||
|
||
## Prerequisits | ||
- Docker | ||
- Docker BuildX | ||
|
||
## Images | ||
Overview of the images currently available | ||
|
||
### Master | ||
Master image based on OpenJDK 17 alpine 3.14 | ||
|
||
### Server | ||
Server image based on OpenJDK 17 alpine 3.14 | ||
|
||
### Debug | ||
Debug image with envsubst based on alpine 3.16.0 |