Skip to content

Commit

Permalink
refactor(docker): Improve Dockerfile fix Sonar security issue make im…
Browse files Browse the repository at this point in the history
…ages smaller.

- Remove example Unit Test
  • Loading branch information
gnovaro committed Feb 11, 2024
1 parent 63cbab4 commit 52f4a0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 25 deletions.
5 changes: 3 additions & 2 deletions etc/infrastructure/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM nginx:stable
RUN apt-get update && apt-get install -y \
vim git wget zip unzip mc htop nano
RUN apt-get update && apt-get install -y --no-install-recommends \
vim git wget zip unzip mc htop nano \
&& rm -rf /var/lib/apt/lists/*
2 changes: 1 addition & 1 deletion etc/infrastructure/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM php:8.3-fpm
#ENV uid=1000

# Update & upgrade apt Install dependencies
RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils libicu-dev vim redis-tools git libxml2-dev wget ca-certificates zip unzip mc htop nano curl mariadb-client
RUN pecl channel-update pecl.php.net
RUN apt-get update -y && apt-get install -y libwebp-dev libjpeg-dev libjpeg62-turbo-dev libpng-dev libxpm-dev \
Expand Down
21 changes: 0 additions & 21 deletions tests/Unit/ExampleTest.php

This file was deleted.

2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

const APP_VERSION = '3.6.3';
const APP_VERSION = '3.6.4';

0 comments on commit 52f4a0f

Please sign in to comment.