Skip to content
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

Merged
merged 16 commits into from
Sep 12, 2018
Merged

Conversation

nunomsfranco
Copy link

  • 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
@nunomsfranco nunomsfranco requested a review from numsu September 10, 2018 15:41
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
Copy link
Member

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.

Copy link
Author

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

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
Copy link
Member

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

Copy link
Author

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

@nunomsfranco nunomsfranco merged commit c6aa0d8 into master Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants