-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sam 169 update libreoffice #3
Conversation
nunomsfranco
commented
Sep 7, 2018
- Changed Dockerfile to update the libre office and libreoffice-kit to 6.0
…k-end-dev-env to master Merge SAM-195-set-up-back-end-dev-env to master branch * commit '8d08435d554281b01a37e9db4c242959ea456aac': forked docsbox service, added git ignore and modified README
Retrieves non-zip file. Updated README file
…perate-convertion-from-upload to master merged SAM-172-seperate-convertion-from-upload to master * commit '18fe3e8d30f0c1dc98fc40e7878443b0ed150df4': fix: upload saves correctly the file now actualized gitignore, added new REST for upload, convert and a GET for filetype fix: added comment to the new const Added new const in settings.py for disabling/enabling thumbnails
docsbox/Dockerfile
Outdated
RUN apt-get install -y libreoffice libreofficekit-dev | ||
RUN apt-get install software-properties-common -y | ||
RUN add-apt-repository ppa:libreoffice/ppa | ||
RUN apt update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to use apt-get or apt, not both. Also, apt-get update is ran already above, if you add the repository before that, we dont need to run it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the apt command for apt-get
The order I had to keep:
- software-properties-common needs to run after apt-get update
- add-apt-repository needs software-properties-common to run
- and after add-apt-repository I need to run apt-get update again
docsbox/Dockerfile
Outdated
RUN apt-get install software-properties-common -y | ||
RUN add-apt-repository ppa:libreoffice/ppa | ||
RUN apt update | ||
RUN apt install libreoffice -y libreoffice libreofficekit-dev -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-y flag is given two times
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed the line to:
- apt-get install -y libreoffice libreofficekit-dev