Skip to content

Commit

Permalink
Merge pull request #41 from GiganticMinecraft/modify_docker_image
Browse files Browse the repository at this point in the history
modify docker image
  • Loading branch information
inductor authored Dec 20, 2023
2 parents d050687 + dd79b75 commit 486225f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions seichiassist-runner-v2/Dockerfile
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
8 changes: 4 additions & 4 deletions seichiassist-runner/Dockerfile
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

0 comments on commit 486225f

Please sign in to comment.