-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
EMF file support #152
EMF file support #152
Changes from 1 commit
5666916
e823274
035ed22
40437c4
25f0bb6
e2f2be7
5ed1198
fc8c755
1ecb2f4
7dddce5
6b1a1fc
d4a1bfa
5432b59
212ed21
37747b1
315a7d6
48e1e11
c1822e2
ffc9bfd
e24f167
e76c52b
e4ab53d
b6daae1
f117d36
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:bionic | ||
|
||
#################### | ||
# Install node and dependencies | ||
|
@@ -90,7 +90,7 @@ RUN apt-get update -y && apt-get install -y subversion && \ | |
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ | ||
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' && \ | ||
apt-get update -y && \ | ||
apt-get install -y google-chrome-stable xvfb poppler-utils git && \ | ||
apt-get install -y google-chrome-stable xvfb poppler-utils inkscape git && \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have you tried running that locally? If I remember correctly:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Default port is 9091 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The following works for me!
|
||
rm -rf /var/lib/apt/lists/* && apt-get clean | ||
|
||
COPY package.json /var/www/image-exporter/ | ||
|
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.
Hmm. We'll have to test that thoroughly on stage. Is this required?
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's definitely the path of least resistance to get the latest version of Inkscape (0.92.3 which is also the version I used in my testing). Otherwise we'd have to compile Inkscape in the container.
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.
Using a ppa shouldn't be too bad:
http://ubuntuhandbook.org/index.php/2017/01/install-inkscape-0-92-ppa-ubuntu-16-04-16-10-14-04/
I'm not against bumping Ubuntu, but we can't just casually bump it here w/o some thorough manual testing.
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 understand your concern. Let me try to compile Inkscape or install from a deb package.
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.
That did the trick thank you 👍
Commit b6daae1 reverted our container to
ubuntu:xenial
and install Inkscape from a PPAThere 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.
amazing 🎉
Thanks very much!