Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#
# All modules are included (ALL-MODULE-PATH) since we are unable to know which ones
# are required by plugins.
FROM docker.io/eclipse-temurin:21-jdk-alpine@sha256:c98f0d2e171c898bf896dc4166815d28a56d428e218190a1f35cdc7d82efd61f AS jre-build
FROM docker.io/eclipse-temurin:21-jdk-alpine@sha256:1ff763083f2993d57d0bf374ab10bb3e2cb873af6c13a04458ebbd3e0337dc76 AS jre-build

Check warning on line 29 in src/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use either the version tag or the digest for the image instead of both.

See more on https://sonarcloud.io/project/issues?id=Djaytan_docker-papermc-server&issues=AZ7yaQNGFSxzLqliB_kZ&open=AZ7yaQNGFSxzLqliB_kZ&pullRequest=406

RUN ${JAVA_HOME}/bin/jlink \
--add-modules ALL-MODULE-PATH \
Expand All @@ -38,7 +38,7 @@


# Download the PaperMC server JAR file corresponding to the specified Minecraft version.
FROM docker.io/alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 AS papermc-server-build

Check warning on line 41 in src/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use either the version tag or the digest for the image instead of both.

See more on https://sonarcloud.io/project/issues?id=Djaytan_docker-papermc-server&issues=AZ7yaQNGFSxzLqliB_ka&open=AZ7yaQNGFSxzLqliB_ka&pullRequest=406

ARG MINECRAFT_VERSION

Expand Down Expand Up @@ -68,19 +68,19 @@
#
# The mc-monitor CLI is used for monitoring and health-checks purposes.
# See https://github.com/itzg/mc-monitor
FROM docker.io/itzg/mc-monitor:0.16.1@sha256:e8847581e7af9e5a3993f1a3cbb5bff0823435e38edcb382049c91de1a83edba AS mc-monitor-build

Check warning on line 71 in src/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use either the version tag or the digest for the image instead of both.

See more on https://sonarcloud.io/project/issues?id=Djaytan_docker-papermc-server&issues=AZ7yaQNGFSxzLqliB_kb&open=AZ7yaQNGFSxzLqliB_kb&pullRequest=406



# Use the CUE lang to handle configuration validation and generation.
FROM docker.io/cuelang/cue:0.13.2@sha256:3296cdefb31c57c8e09da34a19f2f80308cfa60e1f88d5762034654001f265a2 AS cuelang-build

Check warning on line 76 in src/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use either the version tag or the digest for the image instead of both.

See more on https://sonarcloud.io/project/issues?id=Djaytan_docker-papermc-server&issues=AZ7yaQNGFSxzLqliB_kc&open=AZ7yaQNGFSxzLqliB_kc&pullRequest=406



# ===================================
# >>> FINAL STAGE <<<
# ===================================
FROM docker.io/alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659

Check warning on line 83 in src/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use either the version tag or the digest for the image instead of both.

See more on https://sonarcloud.io/project/issues?id=Djaytan_docker-papermc-server&issues=AZ7yaQNGFSxzLqliB_kd&open=AZ7yaQNGFSxzLqliB_kd&pullRequest=406

# ===================================
# JRE setup
Expand Down
Loading