Skip to content

Commit

Permalink
[FIX] update java version to support latest webin-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
dameyerdave committed Dec 12, 2024
1 parent 3f08a5d commit 4699d71
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ ENV DJANGO_SETTINGS_MODULE=ena_upload_ms.settings
RUN mkdir -p /etc/apt/keyrings
RUN wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc
RUN echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
RUN apt update && apt install -y temurin-8-jdk
# RUN cd /opt && \
# wget https://github.com/enasequence/webin-cli/releases/download/7.0.1/webin-cli-7.0.1.jar && \
# mv webin-cli-7.0.1.jar webin-cli.jar
RUN apt update && apt install -y temurin-17-jdk
RUN cd /opt && \
wget https://github.com/enasequence/webin-cli/releases/download/8.1.0/webin-cli-8.1.0.jar && \
mv webin-cli-8.1.0.jar webin-cli.jar
Expand Down

0 comments on commit 4699d71

Please sign in to comment.