Making the build work

This commit is contained in:
retropikzel 2024-09-26 19:33:39 +03:00
parent e7bd82e172
commit f1907d2169
1 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,2 @@
FROM debian:bookworm-slim
RUN apt update && apt install -y docker.io make bash curl
RUN curl -s "https://get.sdkman.io" | bash
RUN bash -c 'source "$HOME/.sdkman/bin/sdkman-init.sh" && sdk install java 22.0.2-tem'
COPY jenkins_entrypoint.sh /entrypoint.sh
ENTRYPOINT ["bash", "/entrypoint.sh"]
FROM debian:trixie
RUN apt update && apt install -y docker.io make bash curl zip unzip openjdk-22-jdk