removed composer binary

This commit is contained in:
Diego Lendoiro 2018-04-17 11:20:21 +02:00
parent 2272f572d7
commit 59cc8b8ebe
2 changed files with 4 additions and 3 deletions

View File

@ -74,7 +74,8 @@ RUN apt-get update \
&& chmod 664 $(find /var/www/passbolt/webroot/img/public -type f) \
&& rm /etc/nginx/sites-enabled/default \
&& apt-get purge -y --auto-remove $PASSBOLT_DEV_PACKAGES \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/* \
&& rm /usr/local/bin/composer
COPY conf/passbolt.conf /etc/nginx/conf.d/default.conf
COPY conf/supervisord.conf /etc/supervisor/supervisord.conf

View File

@ -38,8 +38,8 @@ describe 'Dockerfile' do
end
describe 'php composer' do
it 'is installed' do
expect(file(composer)).to be_executable
it 'is not installed' do
expect(file(composer)).to_not exist
end
end