Skip to content
Open
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
2 changes: 1 addition & 1 deletion cicd/tca11/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM jetbrains/teamcity-agent:2025.11.4-linux-sudo
FROM jetbrains/teamcity-agent:2025.11.7-linux-sudo
USER root
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
RUN curl -o /tmp/repo.deb -L https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-2_all.deb; apt-get install -y -f /tmp/repo.deb; curl -L https://apt.corretto.aws/corretto.key | apt-key add - ;\

Check warning on line 4 in cicd/tca11/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace this invocation of "curl" with the ADD instruction.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AZ-j3VGLMMeHpclY-LWR&open=AZ-j3VGLMMeHpclY-LWR&pullRequest=433

Check warning on line 4 in cicd/tca11/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure automatically installing recommended packages is safe here.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AZ-j3VGLMMeHpclY-LWU&open=AZ-j3VGLMMeHpclY-LWU&pullRequest=433

Check warning on line 4 in cicd/tca11/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Not enforcing HTTPS here might allow for redirections to insecure websites. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AZ-j3VGLMMeHpclY-LWT&open=AZ-j3VGLMMeHpclY-LWT&pullRequest=433

Check warning on line 4 in cicd/tca11/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove cache after installing packages or store it in a cache mount.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AZ-j3VGLMMeHpclY-LWP&open=AZ-j3VGLMMeHpclY-LWP&pullRequest=433

Check warning on line 4 in cicd/tca11/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Not enforcing HTTPS here might allow for redirections to insecure websites. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AZ-j3VGLMMeHpclY-LWV&open=AZ-j3VGLMMeHpclY-LWV&pullRequest=433
add-apt-repository 'deb https://apt.corretto.aws stable main'; apt-get update

Check warning on line 5 in cicd/tca11/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Update cache and install packages in single RUN instruction.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AZ-j3VGLMMeHpclY-LWS&open=AZ-j3VGLMMeHpclY-LWS&pullRequest=433
RUN apt-get install --no-install-recommends -y zulu11-jdk

Check warning on line 6 in cicd/tca11/Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove cache after installing packages or store it in a cache mount.

See more on https://sonarcloud.io/project/issues?id=ds2_docker-templates&issues=AZ-j3VGLMMeHpclY-LWQ&open=AZ-j3VGLMMeHpclY-LWQ&pullRequest=433
RUN apt autoremove; apt-get -y upgrade; rm -rf /var/lib/apt/lists/*
ENV JAVA_HOME="/usr/lib/jvm/zulu11"
ENV PATH=${JAVA_HOME}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Expand Down
Loading