Making the build work
This commit is contained in:
parent
a116d415c8
commit
e7bd82e172
|
|
@ -1,3 +1,6 @@
|
||||||
FROM debian:bookworm-slim
|
FROM debian:bookworm-slim
|
||||||
RUN apt update && apt install -y docker.io make bash
|
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"]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
|
sdk use 22.0.2-tem
|
||||||
Loading…
Reference in New Issue