16 lines
866 B
Docker
Executable file
16 lines
866 B
Docker
Executable file
########################################################
|
|
############## We use a java base image ################
|
|
########################################################
|
|
FROM debian:sid
|
|
# Set environment variables to avoid interactive prompts
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV APT_LISTCHANGES_FRONTEND=none
|
|
|
|
RUN ls -lah /etc/apt/sources.list.d/
|
|
RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list.d/debian.sources
|
|
RUN apt update && apt install -y curl jq bash sudo wget gnupg2
|
|
|
|
RUN wget -O - https://apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \
|
|
echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list
|
|
|
|
RUN apt-get update && apt-get install -y java-21-amazon-corretto-jdk libxi6 libxtst6 libxrender1
|