Skip to content

Commit

Permalink
modify dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Dec 20, 2023
1 parent e032ee7 commit a9b8cc4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docker/spigot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# syntax=docker/dockerfile:1.6
FROM ghcr.io/giganticminecraft/chunk-search-rs:sha-f1943b1 as chunk-search-provider
FROM ghcr.io/giganticminecraft/seichiassist-runner-v2:3731293
FROM ghcr.io/giganticminecraft/seichiassist-runner-v2:486225f

FROM itzg/minecraft-server:java17-jdk

# nkfをインストール
RUN apt-get update && apt-get install -y nkf \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

#yqをインストール
RUN curl -LJO https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 && \
mv yq_linux_amd64 /usr/local/bin/yq && \
chmod a+x /usr/local/bin/yq
FROM mikefarah/yq:4.40.5 as yq
COPY --from=yq /usr/bin/yq /usr/bin/yq

# chunk-search-rsをインストール
COPY --link --from=chunk-search-provider /build/chunk-search-rs /usr/bin/chunk-search-rs
Expand Down

0 comments on commit a9b8cc4

Please sign in to comment.