add cleaning to free some space during provisioning the workspace
Fixing E: You don't have enough free space in /var/cache/apt/archives/
This commit is contained in:
parent
f0e2d83618
commit
1d8336a9e1
|
@ -42,6 +42,9 @@ RUN apt-get update && apt-get install -y \
|
||||||
nodejs-dev \
|
nodejs-dev \
|
||||||
npm
|
npm
|
||||||
|
|
||||||
|
# Clean up, to free some space
|
||||||
|
RUN apt-get clean
|
||||||
|
|
||||||
# Install gulp and bower with NPM
|
# Install gulp and bower with NPM
|
||||||
RUN npm install -g \
|
RUN npm install -g \
|
||||||
gulp \
|
gulp \
|
||||||
|
@ -66,7 +69,6 @@ RUN composer.phar global require "laravel/installer" \
|
||||||
RUN . ~/.bashrc
|
RUN . ~/.bashrc
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
RUN apt-get autoclean && apt-get clean \
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
||||||
|
|
||||||
WORKDIR /var/www/laravel
|
WORKDIR /var/www/laravel
|
||||||
|
|
Loading…
Reference in New Issue