diff --git a/.github/workflows/build-and-run-tests.yml b/.github/workflows/build-and-run-tests.yml index d3e8e68ba4..5d71c96b78 100644 --- a/.github/workflows/build-and-run-tests.yml +++ b/.github/workflows/build-and-run-tests.yml @@ -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: diff --git a/utbot-cli-js/Dockerfile b/utbot-cli-js/Dockerfile index 6eb099837d..0e94a8ca7b 100644 --- a/utbot-cli-js/Dockerfile +++ b/utbot-cli-js/Dockerfile @@ -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 diff --git a/utbot-cli-python/Dockerfile b/utbot-cli-python/Dockerfile index 6a76e29d21..2765f9a021 100644 --- a/utbot-cli-python/Dockerfile +++ b/utbot-cli-python/Dockerfile @@ -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 @@ -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 diff --git a/utbot-cli/Dockerfile b/utbot-cli/Dockerfile index 9e4e97e1b8..539a83b505 100644 --- a/utbot-cli/Dockerfile +++ b/utbot-cli/Dockerfile @@ -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