File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,16 @@ RUN composer install --no-dev && \
3535 chown -R app:app . && \
3636 rm -r ~/.composer
3737
38-
3938# Build Content
4039COPY bin/build-content ./bin/build-content
41- RUN apk add --no-cache ruby ruby-json ruby-bigdecimal ruby-nokogiri ruby- dev build-base libxml2-dev libxslt-dev libffi-dev && \
40+ RUN apk add --no-cache ruby ruby-json ruby-bigdecimal ruby-dev build-base libxml2-dev libxslt-dev libffi-dev && \
4241 gem install rdoc nokogiri httparty --no-document && \
4342 ./bin/build-content && \
44- chown -R app:app content
45- # chown -R app:app content && \
46- # gem uninstall rdoc httparty && \
47- # rm -rf $( gem environment gemdir ) && \
48- # apk del --purge ruby ruby-json ruby-bigdecimal && \
49- # rm -r /var/cache/* ~/.gem
43+ chown -R app:app content && \
44+ gem uninstall --all rdoc httparty nokogiri && \
45+ rm -rf $( gem environment gemdir ) && \
46+ apk del --purge ruby ruby-json ruby-bigdecimal ruby-dev build-base libxml2-dev libxslt-dev libffi-dev && \
47+ rm -r /var/cache/* ~/.gem
5048
5149COPY . ./
5250
You can’t perform that action at this time.
0 commit comments