Skip to content

Commit

Permalink
REL-3303 address reviewer comments removing no-op apt clean (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
jCOTINEAU authored Sep 30, 2024
1 parent 2043d55 commit 5070146
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions 10/community/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ RUN set -eux; \
chmod -R 550 ${SONARQUBE_HOME}; \
chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
apt-get remove -y gnupg unzip; \
rm -rf /var/lib/apt/lists/*; \
apt-get clean;
rm -rf /var/lib/apt/lists/*;

VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]

Expand Down
3 changes: 1 addition & 2 deletions 10/datacenter/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ RUN set -eux; \
chmod -R 550 ${SONARQUBE_HOME}; \
chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
apt-get remove -y gnupg unzip; \
rm -rf /var/lib/apt/lists/*; \
apt-get clean;
rm -rf /var/lib/apt/lists/*;

VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]

Expand Down
3 changes: 1 addition & 2 deletions 10/datacenter/search/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ RUN set -eux; \
chmod -R 550 ${SONARQUBE_HOME}; \
chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
apt-get remove -y gnupg unzip curl; \
rm -rf /var/lib/apt/lists/*; \
apt-get clean;
rm -rf /var/lib/apt/lists/*;

VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]

Expand Down
3 changes: 1 addition & 2 deletions 10/developer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ RUN set -eux; \
chmod -R 550 ${SONARQUBE_HOME}; \
chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
apt-get remove -y gnupg unzip; \
rm -rf /var/lib/apt/lists/*; \
apt-get clean;
rm -rf /var/lib/apt/lists/*;

VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]

Expand Down
3 changes: 1 addition & 2 deletions 10/enterprise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ RUN set -eux; \
chmod -R 550 ${SONARQUBE_HOME}; \
chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
apt-get remove -y gnupg unzip; \
rm -rf /var/lib/apt/lists/*; \
apt-get clean;
rm -rf /var/lib/apt/lists/*;

VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]

Expand Down

0 comments on commit 5070146

Please sign in to comment.