Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update java for cli images #2201 #2203

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build-and-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:

publish-cli-image:
needs: build-and-run-tests
if: ${{ github.event_name == 'push' }}
# temporary commented to check images
# if: ${{ github.event_name == 'push' }}
strategy:
fail-fast: false # force to execute all jobs even though some of them have failed
matrix:
Expand Down
2 changes: 1 addition & 1 deletion utbot-cli-js/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM azul/zulu-openjdk:11.0.15-11.56.19
FROM azul/zulu-openjdk:17.0.7-17.42.19

ARG DEBIAN_FRONTEND=noninteractive

Expand Down
15 changes: 11 additions & 4 deletions utbot-cli-python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM azul/zulu-openjdk:11.0.15-11.56.19
FROM azul/zulu-openjdk:17.0.7-17.42.19

ARG DEBIAN_FRONTEND=noninteractive

Expand All @@ -7,11 +7,18 @@ WORKDIR /usr/src/
RUN apt-get update \
&& apt-get install -y -q --no-install-recommends \
curl \
python3.9 \
python3.9-distutils \
gpg-agent \
software-properties-common \
&& add-apt-repository -y ppa:deadsnakes/ppa \
&& apt-get update \
&& apt-get install -y -q --no-install-recommends \
python3.10 \
python3-distutils \
&& rm /usr/bin/python3 \
&& ln -s /usr/bin/python3.10 /usr/bin/python3 \
&& rm -rf /var/lib/apt/lists/* \
&& curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python3.9 get-pip.py \
&& python3 get-pip.py \
&& pip install -U \
pytest

Expand Down
2 changes: 1 addition & 1 deletion utbot-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM azul/zulu-openjdk:11.0.15-11.56.19
FROM azul/zulu-openjdk:17.0.7-17.42.19

ARG DEBIAN_FRONTEND=noninteractive

Expand Down