25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
376B

  1. FROM openjdk:19-jdk-alpine
  2. RUN apk add gcompat
  3. RUN apk add curl
  4. # Download Coursier (https://get-coursier.io/)
  5. RUN curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > /usr/bin/cs
  6. RUN chmod +x /usr/bin/cs
  7. RUN cs setup -y
  8. ADD ./main.sh /main.sh
  9. RUN mkdir /workdir
  10. WORKDIR /workdir
  11. ENV COURSIER_CACHE /workdir
  12. CMD ["sh", "/main.sh"]