-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from GiganticMinecraft/modify_docker_image
modify docker image
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
FROM mikefarah/yq:4.40.5 as yq | ||
FROM eclipse-temurin:17.0.9_9-jdk-jammy | ||
|
||
RUN apt-get update && apt-get install nkf | ||
ADD https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 /usr/bin/yq | ||
RUN chmod +x /usr/bin/yq | ||
RUN apt-get update && apt-get install nkf \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
COPY --from=yq /usr/bin/yq /usr/bin/yq |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM mikefarah/yq:4.40.5 as yq | ||
FROM adoptopenjdk:8u282-b08-jdk-hotspot | ||
|
||
RUN apt-get update | ||
RUN apt-get install nkf | ||
ADD https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 /usr/bin/yq | ||
RUN chmod +x /usr/bin/yq | ||
RUN apt-get update && apt-get install nkf \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
COPY --from=yq /usr/bin/yq /usr/bin/yq |